| 1 | <?php |
||
| 17 | abstract class AbstractUserViewModel |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $id; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $fullName; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $username; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | private $email; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | private $mobile; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | private $password; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @var string |
||
| 51 | */ |
||
| 52 | private $type; |
||
| 53 | |||
| 54 | protected function __construct( |
||
| 71 | |||
| 72 | public function getId(): string |
||
| 76 | |||
| 77 | public function getFullName(): string |
||
| 81 | |||
| 82 | public function getUsername(): string |
||
| 86 | |||
| 87 | public function getEmail(): string |
||
| 91 | |||
| 92 | public function getMobile(): string |
||
| 96 | |||
| 97 | public function getPassword(): string |
||
| 101 | |||
| 102 | public function getType(): string |
||
| 106 | } |
||
| 107 |