@@ -34,6 +34,8 @@ abstract class ProductDomainObjectAbstract extends \HiEvents\DomainObjects\Abstr
3434 final public const IS_HIDDEN = 'is_hidden ' ;
3535 final public const PRODUCT_TYPE = 'product_type ' ;
3636 final public const START_COLLAPSED = 'start_collapsed ' ;
37+ final public const IS_HIGHLIGHTED = 'is_highlighted ' ;
38+ final public const HIGHLIGHT_MESSAGE = 'highlight_message ' ;
3739
3840 protected int $ id ;
3941 protected int $ event_id ;
@@ -59,6 +61,8 @@ abstract class ProductDomainObjectAbstract extends \HiEvents\DomainObjects\Abstr
5961 protected ?bool $ is_hidden = false ;
6062 protected string $ product_type = 'TICKET ' ;
6163 protected bool $ start_collapsed = false ;
64+ protected bool $ is_highlighted = false ;
65+ protected ?string $ highlight_message = null ;
6266
6367 public function toArray (): array
6468 {
@@ -87,6 +91,8 @@ public function toArray(): array
8791 'is_hidden ' => $ this ->is_hidden ?? null ,
8892 'product_type ' => $ this ->product_type ?? null ,
8993 'start_collapsed ' => $ this ->start_collapsed ?? null ,
94+ 'is_highlighted ' => $ this ->is_highlighted ?? null ,
95+ 'highlight_message ' => $ this ->highlight_message ?? null ,
9096 ];
9197 }
9298
@@ -353,4 +359,26 @@ public function getStartCollapsed(): bool
353359 {
354360 return $ this ->start_collapsed ;
355361 }
362+
363+ public function setIsHighlighted (bool $ is_highlighted ): self
364+ {
365+ $ this ->is_highlighted = $ is_highlighted ;
366+ return $ this ;
367+ }
368+
369+ public function getIsHighlighted (): bool
370+ {
371+ return $ this ->is_highlighted ;
372+ }
373+
374+ public function setHighlightMessage (?string $ highlight_message ): self
375+ {
376+ $ this ->highlight_message = $ highlight_message ;
377+ return $ this ;
378+ }
379+
380+ public function getHighlightMessage (): ?string
381+ {
382+ return $ this ->highlight_message ;
383+ }
356384}
0 commit comments