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
3declare(strict_types=1);
4
5namespace PeServer\App\Models\Data\Dto;
6
7use DateTime;
8use PeServer\App\Models\Domain\UserLevel;
9use PeServer\App\Models\Domain\UserState;
10use PeServer\Core\Database\DtoBase;
11use PeServer\Core\Serialization\Mapping;
12use PeServer\Core\Text;
13
14/**
15 * ユーザー情報。
16 */
17class 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}