<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="ebay_feed_xml_sections",
* indexes={
*
* @ORM\Index(name="category_datetime_identifier_idx", columns={"xml_feed_category", "datetime_identifier"}),
* }
* )
*/
class EbayFeedXmlSection
{
public function __construct(
string $datetimeIdentifier,
string $xmlFeedCategory,
string $recurrentJobsId,
string $title,
?string $xmlSection = null,
?string $integratedExternalPartnerCustomerId = null,
?string $joboffererProfilesId = null
) {
$this->datetimeIdentifier = $datetimeIdentifier;
$this->xmlFeedCategory = $xmlFeedCategory;
$this->recurrentJobsId = $recurrentJobsId;
$this->xmlSection = $xmlSection;
$this->title = $title;
$this->integratedExternalPartnerCustomerId = $integratedExternalPartnerCustomerId;
$this->joboffererProfilesId = $joboffererProfilesId;
}
/**
* @ORM\Column(name="datetime_identifier", type="string")
*
* @ORM\Id
*/
protected string $datetimeIdentifier;
/**
* @ORM\Column(name="xml_section", type="text", length=8192, nullable=true)
*/
private ?string $xmlSection = null;
/**
* @ORM\Column(name="title", type="string", nullable=false)
*/
private string $title;
/**
* @ORM\Column(name="xml_feed_category", type="string", nullable=false)
*/
protected string $xmlFeedCategory;
/**
* @ORM\Column(name="recurrent_jobs_id", type="string", nullable=false)
*
* @ORM\Id
*/
protected string $recurrentJobsId;
/**
* @ORM\Column(name="integrated_external_partner_customers_id", type="string", nullable=true)
*/
protected ?string $integratedExternalPartnerCustomerId;
/**
* @ORM\Column(name="jobofferer_profiles_id", type="string", nullable=true)
*/
protected ?string $joboffererProfilesId;
public function getDatetimeIdentifier(): string
{
return $this->datetimeIdentifier;
}
public function setDatetimeIdentifier(string $datetimeIdentifier): void
{
$this->datetimeIdentifier = $datetimeIdentifier;
}
public function getXmlSection(): ?string
{
return $this->xmlSection;
}
public function setXmlSection(?string $xmlSection): void
{
$this->xmlSection = $xmlSection;
}
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): void
{
$this->title = $title;
}
public function getXmlFeedCategory(): string
{
return $this->xmlFeedCategory;
}
public function setXmlFeedCategory(string $xmlFeedCategory): void
{
$this->xmlFeedCategory = $xmlFeedCategory;
}
public function setRecurrentJobsId(string $recurrentJobsId): void
{
$this->recurrentJobsId = $recurrentJobsId;
}
public function getRecurrentJobsId(): string
{
return $this->recurrentJobsId;
}
public function getIntegratedExternalPartnerCustomerId(): ?string
{
return $this->integratedExternalPartnerCustomerId;
}
public function getJoboffererProfilesId(): ?string
{
return $this->joboffererProfilesId;
}
}