add user entity
This commit is contained in:
parent
b5697e1e1f
commit
0777f0da2f
10 changed files with 172 additions and 158 deletions
12
backend/app/User/CreateUserDto.php
Normal file
12
backend/app/User/CreateUserDto.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\User;
|
||||
|
||||
use App\Shared\ValueObject\EmailAddress;
|
||||
|
||||
final readonly class CreateUserDto
|
||||
{
|
||||
public function __construct(
|
||||
public EmailAddress $email,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue