1 | <?php |
||
11 | class Field implements ModelInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $token; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $description; |
||
27 | |||
28 | /** |
||
29 | * @var FieldTranslation[] |
||
30 | */ |
||
31 | private $translations; |
||
32 | |||
33 | /** |
||
34 | * @var int|null |
||
35 | */ |
||
36 | private $dataParentId; |
||
37 | |||
38 | /** |
||
39 | * @var \DateTime |
||
40 | */ |
||
41 | private $createdAt; |
||
42 | |||
43 | /** |
||
44 | * @var \DateTime |
||
45 | */ |
||
46 | private $updatedAt; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | private $inheritanceStatus; |
||
52 | |||
53 | /** |
||
54 | * Field constructor. |
||
55 | * |
||
56 | * @param array $data |
||
57 | */ |
||
58 | public function __construct(array $data) |
||
73 | |||
74 | /** |
||
75 | * @return int |
||
76 | */ |
||
77 | public function getId(): int |
||
81 | |||
82 | /** |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getToken(): string |
||
89 | |||
90 | /** |
||
91 | * @return string |
||
92 | */ |
||
93 | public function getDescription(): string |
||
97 | |||
98 | /** |
||
99 | * @return FieldTranslation[] |
||
100 | */ |
||
101 | public function getTranslations(): array |
||
105 | |||
106 | /** |
||
107 | * @return int|null |
||
108 | */ |
||
109 | public function getDataParentId() |
||
113 | |||
114 | /** |
||
115 | * @return \DateTime |
||
116 | */ |
||
117 | public function getCreatedAt(): \DateTime |
||
121 | |||
122 | /** |
||
123 | * @return \DateTime |
||
124 | */ |
||
125 | public function getUpdatedAt(): \DateTime |
||
129 | |||
130 | /** |
||
131 | * @return string |
||
132 | */ |
||
133 | public function getInheritanceStatus(): string |
||
137 | } |
||
138 |