<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="external_feed_xml_sections"
* )
*/
class ExternalFeedXmlSection
{
public function __construct(
string $datetimeIdentifier,
int $feedPartnerId,
string $xmlFeedCategory,
string $recurrentJobsId,
?string $xmlSection = null
) {
$this->datetimeIdentifier = $datetimeIdentifier;
$this->feedPartnerId = $feedPartnerId;
$this->xmlFeedCategory = $xmlFeedCategory;
$this->recurrentJobsId = $recurrentJobsId;
$this->xmlSection = $xmlSection;
}
/**
* @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="feed_partner_id", type="integer", nullable=false)
*
* @ORM\Id
*/
private int $feedPartnerId;
/**
* @ORM\Column(name="xml_feed_category", type="string", nullable=false)
*
* @ORM\Id
*/
protected string $xmlFeedCategory;
/**
* @ORM\Column(name="recurrent_jobs_id", type="string", nullable=false)
*
* @ORM\Id
*/
protected string $recurrentJobsId;
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 getFeedPartnerId(): int
{
return $this->feedPartnerId;
}
public function setFeedPartnerId(int $feedPartnerId): void
{
$this->feedPartnerId = $feedPartnerId;
}
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;
}
}