<?php declare(strict_types=1);namespace Shopware\Core\System\DeliveryTime;use Shopware\Core\Checkout\Shipping\ShippingMethodCollection;use Shopware\Core\Content\Product\ProductCollection;use Shopware\Core\Framework\DataAbstractionLayer\Entity;use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;class DeliveryTimeEntity extends Entity{ use EntityIdTrait; public const DELIVERY_TIME_DAY = 'day'; public const DELIVERY_TIME_WEEK = 'week'; public const DELIVERY_TIME_MONTH = 'month'; /** * @var string|null */ protected $name; /** * @var int */ protected $min; /** * @var int */ protected $max; /** * @var string */ protected $unit; /** * @var ShippingMethodCollection|null */ protected $shippingMethods; /** * @var EntityCollection */ protected $translations; /** * @var array|null */ protected $customFields; /** * @var ProductCollection|null */ protected $products; public function getName(): string { return $this->name; } public function setName(string $name): void { $this->name = $name; } public function getMin(): int { return $this->min; } public function setMin(int $min): void { $this->min = $min; } public function getMax(): int { return $this->max; } public function setMax(int $max): void { $this->max = $max; } public function getUnit(): string { return $this->unit; } public function setUnit(string $unit): void { $this->unit = $unit; } public function getShippingMethods(): ?ShippingMethodCollection { return $this->shippingMethods; } public function setShippingMethods(ShippingMethodCollection $shippingMethods): void { $this->shippingMethods = $shippingMethods; } public function getTranslations(): ?EntityCollection { return $this->translations; } public function setTranslations(EntityCollection $translations): void { $this->translations = $translations; } public function getCustomFields(): ?array { return $this->customFields; } public function setCustomFields(?array $customFields): void { $this->customFields = $customFields; } public function getProducts(): ?ProductCollection { return $this->products; } public function setProducts(ProductCollection $products): void { $this->products = $products; }}