Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
UserInformationDto | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\App\Models\Data\Dto; |
6 | |
7 | use DateTime; |
8 | use PeServer\App\Models\Domain\UserLevel; |
9 | use PeServer\App\Models\Domain\UserState; |
10 | use PeServer\Core\Database\DtoBase; |
11 | use PeServer\Core\Serialization\Mapping; |
12 | use PeServer\Core\Text; |
13 | |
14 | /** |
15 | * ユーザー情報。 |
16 | */ |
17 | class UserInformationDto extends DtoBase |
18 | { |
19 | #region variable |
20 | |
21 | #[Mapping('user_id')] |
22 | public string $userId = Text::EMPTY; |
23 | |
24 | #[Mapping('login_id')] |
25 | public string $loginId = Text::EMPTY; |
26 | |
27 | /** |
28 | * @phpstan-var UserLevel::* |
29 | */ |
30 | public string $level = UserLevel::UNKNOWN; |
31 | |
32 | public string $name = Text::EMPTY; |
33 | |
34 | public string $email = Text::EMPTY; |
35 | |
36 | public string $website = Text::EMPTY; |
37 | |
38 | #endregion |
39 | } |