<?php declare(strict_types=1);namespace Shopware\Core\Content\Seo\MainCategory;use Shopware\Core\Content\Category\CategoryEntity;use Shopware\Core\Content\Product\ProductEntity;use Shopware\Core\Framework\DataAbstractionLayer\Entity;use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;use Shopware\Core\Framework\Log\Package;use Shopware\Core\System\SalesChannel\SalesChannelEntity;#[Package('sales-channel')]class MainCategoryEntity extends Entity{ use EntityIdTrait; /** * @var string */ protected $salesChannelId; /** * @var SalesChannelEntity|null */ protected $salesChannel; /** * @var string */ protected $categoryId; /** * @var CategoryEntity */ protected $category; /** * @var string */ protected $productId; /** * @var ProductEntity|null */ protected $product; public function getSalesChannelId(): string { return $this->salesChannelId; } public function setSalesChannelId(string $salesChannelId): void { $this->salesChannelId = $salesChannelId; } public function getSalesChannel(): ?SalesChannelEntity { return $this->salesChannel; } public function setSalesChannel(?SalesChannelEntity $salesChannel): void { $this->salesChannel = $salesChannel; } public function getCategoryId(): string { return $this->categoryId; } public function setCategoryId(string $categoryId): void { $this->categoryId = $categoryId; } public function getCategory(): CategoryEntity { return $this->category; } public function setCategory(CategoryEntity $category): void { $this->category = $category; } public function getProductId(): string { return $this->productId; } public function setProductId(string $productId): void { $this->productId = $productId; } public function getProduct(): ?ProductEntity { return $this->product; } public function setProduct(?ProductEntity $product): void { $this->product = $product; }}