<?phpdeclare(strict_types=1);namespace NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design;use NetInventors\NetiNextEasyCoupon\Core\Content\Product\Aggregate\EasyCouponProductCollection;use NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design\Aggregate\Image\ImageCollection;use NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design\Aggregate\Pdf\PdfEntity;use NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design\Aggregate\Task\TaskCollection;use NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design\Aggregate\Translation\TranslationCollection;use NetInventors\NetiNextEasyCouponDesigns\Core\Content\Design\Aggregate\Variant\VariantCollection;use Shopware\Core\Content\Media\MediaEntity;use Shopware\Core\Framework\DataAbstractionLayer\Entity;use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;class DesignEntity extends Entity{ use EntityIdTrait; protected bool $deleted; protected bool $active; protected string $title; protected ?string $description; protected string $version; protected TranslationCollection $translations; protected EasyCouponProductCollection $easyCouponProducts; protected TaskCollection $tasks; protected VariantCollection $variants; public function __construct() { $this->translations = new TranslationCollection(); $this->easyCouponProducts = new EasyCouponProductCollection(); $this->tasks = new TaskCollection(); $this->images = new ImageCollection(); $this->variants = new VariantCollection(); } public function isDeleted(): bool { return $this->deleted; } public function setDeleted(bool $deleted): void { $this->deleted = $deleted; } public function isActive(): bool { return $this->active; } public function setActive(bool $active): void { $this->active = $active; } public function getTitle(): string { return $this->title; } public function setTitle(string $title): void { $this->title = $title; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): void { $this->description = $description; } public function getVersion(): string { return $this->version; } public function setVersion(string $version): void { $this->version = $version; } public function getTranslations(): TranslationCollection { return $this->translations; } public function setTranslations(TranslationCollection $translations): void { $this->translations = $translations; } public function getEasyCouponProducts(): EasyCouponProductCollection { return $this->easyCouponProducts; } public function setEasyCouponProducts(EasyCouponProductCollection $easyCouponProducts): void { $this->easyCouponProducts = $easyCouponProducts; } public function getTasks(): TaskCollection { return $this->tasks; } public function setTasks(TaskCollection $tasks): void { $this->tasks = $tasks; } public function setVariants(VariantCollection $variants): DesignEntity { $this->variants = $variants; return $this; } /** * @psalm-mutation-free */ public function getVariants(): VariantCollection { return $this->variants; }}