<?php declare(strict_types=1);namespace Acris\ProductVideo\Custom;use Acris\ProductVideo\Custom\Aggregate\ProductVideoTranslation\ProductVideoTranslationCollection;use Shopware\Core\Content\Media\Aggregate\MediaTranslation\MediaTranslationCollection;use Shopware\Core\Content\Media\MediaEntity;use Shopware\Core\Content\Product\ProductEntity;use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;class ProductVideoEntity extends MediaEntity{ use EntityIdTrait; /** * @var string */ protected $productId; /** * @var ProductEntity|null */ protected $product; /** * @var string */ protected $productVideoId; /** * @var int|null */ protected $priority; /** * @var string|null */ protected $type; /** * @var ProductVideoTranslationCollection|null */ protected $translations; /** * @return string */ public function getProductId(): string { return $this->productId; } /** * @param string $productId */ public function setProductId(string $productId): void { $this->productId = $productId; } /** * @return string */ public function getProductVideoId(): string { return $this->productVideoId; } /** * @param string $productVideoId */ public function setProductVideoId(string $productVideoId): void { $this->productVideoId = $productVideoId; } /** * @return MediaTranslationCollection|null */ public function getTranslations(): ?MediaTranslationCollection { return $this->translations; } /** * @param MediaTranslationCollection|null $translations */ public function setTranslations(?MediaTranslationCollection $translations): void { $this->translations = $translations; } /** * @return ProductEntity|null */ public function getProduct(): ?ProductEntity { return $this->product; } /** * @param ProductEntity|null $product */ public function setProduct(?ProductEntity $product): void { $this->product = $product; } /** * @return int|null */ public function getPriority(): ?int { return $this->priority; } /** * @param int|null $priority */ public function setPriority(?int $priority): void { $this->priority = $priority; } /** * @return string|null */ public function getType(): ?string { return $this->type; } /** * @param string|null $type */ public function setType(?string $type): void { $this->type = $type; }}