diff --git a/backend/app/User/CreateUserDto.php b/backend/app/User/CreateUserDto.php new file mode 100644 index 0000000..7c353e5 --- /dev/null +++ b/backend/app/User/CreateUserDto.php @@ -0,0 +1,14 @@ +id; + } + + public function getEmail(): EmailAddress + { + return $this->email; + } + + public function getPasswordHash(): string + { + return $this->passwordHash; + } + + public function isAdmin(): bool + { + return $this->isAdmin; + } +} diff --git a/backend/app/User/UserRepository.php b/backend/app/User/UserRepository.php new file mode 100644 index 0000000..4805f3f --- /dev/null +++ b/backend/app/User/UserRepository.php @@ -0,0 +1,14 @@ +