<?php declare(strict_types=1);
namespace Swag\EnterpriseSearch\IndexingQuery;
use Shopware\Core\Framework\DataAbstractionLayer\Entity;
use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait;
use Shopware\Core\System\SalesChannel\SalesChannelEntity;
use Swag\EnterpriseSearch\Boosting\BoostingCollection;
use Swag\EnterpriseSearch\Relevance\RelevanceBluePrintCollection;
class IndexingQueryEntity extends Entity
{
use EntityIdTrait;
/**
* @var RelevanceBluePrintCollection
*/
public $relevanceCollection;
/**
* @var BoostingCollection
*/
public $boostingCollection;
/**
* @var array
*/
public $boostingJson;
/**
* @var array
*/
public $relevanceJson;
/**
* @var string
*/
public $entityName;
/**
* @var string
*/
public $salesChannelId;
/**
* @var SalesChannelEntity|null
*/
public $salesChannel;
public function getBoostingJson(): array
{
return $this->boostingJson;
}
public function setBoostingJson(array $boostingJson): void
{
$this->boostingJson = $boostingJson;
}
public function getRelevanceJson(): array
{
return $this->relevanceJson;
}
public function setRelevanceJson(array $relevanceJson): void
{
$this->relevanceJson = $relevanceJson;
}
public function setBoostingCollection(BoostingCollection $boostingQuery): void
{
$this->boostingCollection = $boostingQuery;
}
public function getBoostingCollection(): BoostingCollection
{
return $this->boostingCollection;
}
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 getRelevanceCollection(): RelevanceBluePrintCollection
{
return $this->relevanceCollection;
}
public function setRelevanceCollection(RelevanceBluePrintCollection $relevanceCollection): void
{
$this->relevanceCollection = $relevanceCollection;
}
public function getEntityName(): string
{
return $this->entityName;
}
public function setEntityName(string $entityName): void
{
$this->entityName = $entityName;
}
}