-
-
Notifications
You must be signed in to change notification settings - Fork 625
Expand file tree
/
Copy pathCheckInListDomainObjectAbstract.php
More file actions
174 lines (148 loc) · 4.33 KB
/
CheckInListDomainObjectAbstract.php
File metadata and controls
174 lines (148 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?php
namespace HiEvents\DomainObjects\Generated;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
* @package HiEvents\DomainObjects\Generated
*/
abstract class CheckInListDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'check_in_list';
final public const PLURAL_NAME = 'check_in_lists';
final public const ID = 'id';
final public const EVENT_ID = 'event_id';
final public const SHORT_ID = 'short_id';
final public const NAME = 'name';
final public const DESCRIPTION = 'description';
final public const EXPIRES_AT = 'expires_at';
final public const ACTIVATES_AT = 'activates_at';
final public const DELETED_AT = 'deleted_at';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const PASSWORD = 'password';
protected int $id;
protected int $event_id;
protected string $short_id;
protected string $name;
protected ?string $description = null;
protected ?string $expires_at = null;
protected ?string $activates_at = null;
protected ?string $deleted_at = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $password = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'event_id' => $this->event_id ?? null,
'short_id' => $this->short_id ?? null,
'name' => $this->name ?? null,
'description' => $this->description ?? null,
'expires_at' => $this->expires_at ?? null,
'activates_at' => $this->activates_at ?? null,
'deleted_at' => $this->deleted_at ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'password' => $this->password ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setEventId(int $event_id): self
{
$this->event_id = $event_id;
return $this;
}
public function getEventId(): int
{
return $this->event_id;
}
public function setShortId(string $short_id): self
{
$this->short_id = $short_id;
return $this;
}
public function getShortId(): string
{
return $this->short_id;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setExpiresAt(?string $expires_at): self
{
$this->expires_at = $expires_at;
return $this;
}
public function getExpiresAt(): ?string
{
return $this->expires_at;
}
public function setActivatesAt(?string $activates_at): self
{
$this->activates_at = $activates_at;
return $this;
}
public function getActivatesAt(): ?string
{
return $this->activates_at;
}
public function setDeletedAt(?string $deleted_at): self
{
$this->deleted_at = $deleted_at;
return $this;
}
public function getDeletedAt(): ?string
{
return $this->deleted_at;
}
public function setCreatedAt(?string $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getCreatedAt(): ?string
{
return $this->created_at;
}
public function setUpdatedAt(?string $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getUpdatedAt(): ?string
{
return $this->updated_at;
}
public function setPassword(?string $password): self
{
$this->password = $password;
return $this;
}
public function getPassword(): ?string
{
return $this->password;
}
}