-
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
continued work on migration from tickets to products
- Loading branch information
1 parent
d007041
commit 3a671d0
Showing
171 changed files
with
11,919 additions
and
4,777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
160 changes: 160 additions & 0 deletions
160
backend/app/DomainObjects/Generated/ProductCategoryDomainObjectAbstract.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
<?php | ||
|
||
namespace HiEvents\DomainObjects\Generated; | ||
|
||
/** | ||
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY. | ||
* @package HiEvents\DomainObjects\Generated | ||
*/ | ||
abstract class ProductCategoryDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject | ||
{ | ||
final public const SINGULAR_NAME = 'product_category'; | ||
final public const PLURAL_NAME = 'product_categories'; | ||
final public const ID = 'id'; | ||
final public const EVENT_ID = 'event_id'; | ||
final public const NAME = 'name'; | ||
final public const NO_PRODUCTS_MESSAGE = 'no_products_message'; | ||
final public const DESCRIPTION = 'description'; | ||
final public const IS_HIDDEN = 'is_hidden'; | ||
final public const ORDER = 'order'; | ||
final public const CREATED_AT = 'created_at'; | ||
final public const UPDATED_AT = 'updated_at'; | ||
final public const DELETED_AT = 'deleted_at'; | ||
|
||
protected int $id; | ||
protected int $event_id; | ||
protected string $name; | ||
protected ?string $no_products_message = null; | ||
protected ?string $description = null; | ||
protected bool $is_hidden = false; | ||
protected int $order = 0; | ||
protected ?string $created_at = null; | ||
protected ?string $updated_at = null; | ||
protected ?string $deleted_at = null; | ||
|
||
public function toArray(): array | ||
{ | ||
return [ | ||
'id' => $this->id ?? null, | ||
'event_id' => $this->event_id ?? null, | ||
'name' => $this->name ?? null, | ||
'no_products_message' => $this->no_products_message ?? null, | ||
'description' => $this->description ?? null, | ||
'is_hidden' => $this->is_hidden ?? null, | ||
'order' => $this->order ?? null, | ||
'created_at' => $this->created_at ?? null, | ||
'updated_at' => $this->updated_at ?? null, | ||
'deleted_at' => $this->deleted_at ?? 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 setName(string $name): self | ||
{ | ||
$this->name = $name; | ||
return $this; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return $this->name; | ||
} | ||
|
||
public function setNoProductsMessage(?string $no_products_message): self | ||
{ | ||
$this->no_products_message = $no_products_message; | ||
return $this; | ||
} | ||
|
||
public function getNoProductsMessage(): ?string | ||
{ | ||
return $this->no_products_message; | ||
} | ||
|
||
public function setDescription(?string $description): self | ||
{ | ||
$this->description = $description; | ||
return $this; | ||
} | ||
|
||
public function getDescription(): ?string | ||
{ | ||
return $this->description; | ||
} | ||
|
||
public function setIsHidden(bool $is_hidden): self | ||
{ | ||
$this->is_hidden = $is_hidden; | ||
return $this; | ||
} | ||
|
||
public function getIsHidden(): bool | ||
{ | ||
return $this->is_hidden; | ||
} | ||
|
||
public function setOrder(int $order): self | ||
{ | ||
$this->order = $order; | ||
return $this; | ||
} | ||
|
||
public function getOrder(): int | ||
{ | ||
return $this->order; | ||
} | ||
|
||
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 setDeletedAt(?string $deleted_at): self | ||
{ | ||
$this->deleted_at = $deleted_at; | ||
return $this; | ||
} | ||
|
||
public function getDeletedAt(): ?string | ||
{ | ||
return $this->deleted_at; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.