@@ -15,6 +15,7 @@ abstract class AttendeeCheckInDomainObjectAbstract extends \HiEvents\DomainObjec
15
15
final public const PRODUCT_ID = 'product_id ' ;
16
16
final public const ATTENDEE_ID = 'attendee_id ' ;
17
17
final public const EVENT_ID = 'event_id ' ;
18
+ final public const ORDER_ID = 'order_id ' ;
18
19
final public const SHORT_ID = 'short_id ' ;
19
20
final public const IP_ADDRESS = 'ip_address ' ;
20
21
final public const DELETED_AT = 'deleted_at ' ;
@@ -26,6 +27,7 @@ abstract class AttendeeCheckInDomainObjectAbstract extends \HiEvents\DomainObjec
26
27
protected int $ product_id ;
27
28
protected int $ attendee_id ;
28
29
protected int $ event_id ;
30
+ protected ?int $ order_id = null ;
29
31
protected string $ short_id ;
30
32
protected string $ ip_address ;
31
33
protected ?string $ deleted_at = null ;
@@ -40,6 +42,7 @@ public function toArray(): array
40
42
'product_id ' => $ this ->product_id ?? null ,
41
43
'attendee_id ' => $ this ->attendee_id ?? null ,
42
44
'event_id ' => $ this ->event_id ?? null ,
45
+ 'order_id ' => $ this ->order_id ?? null ,
43
46
'short_id ' => $ this ->short_id ?? null ,
44
47
'ip_address ' => $ this ->ip_address ?? null ,
45
48
'deleted_at ' => $ this ->deleted_at ?? null ,
@@ -103,6 +106,17 @@ public function getEventId(): int
103
106
return $ this ->event_id ;
104
107
}
105
108
109
+ public function setOrderId (?int $ order_id ): self
110
+ {
111
+ $ this ->order_id = $ order_id ;
112
+ return $ this ;
113
+ }
114
+
115
+ public function getOrderId (): ?int
116
+ {
117
+ return $ this ->order_id ;
118
+ }
119
+
106
120
public function setShortId (string $ short_id ): self
107
121
{
108
122
$ this ->short_id = $ short_id ;
0 commit comments