src/App/Entity/EbayFeedXmlSection.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity
  6. *
  7. * @ORM\Table(
  8. * name="ebay_feed_xml_sections",
  9. * indexes={
  10. *
  11. * @ORM\Index(name="category_datetime_identifier_idx", columns={"xml_feed_category", "datetime_identifier"}),
  12. * }
  13. * )
  14. */
  15. class EbayFeedXmlSection
  16. {
  17. public function __construct(
  18. string $datetimeIdentifier,
  19. string $xmlFeedCategory,
  20. string $recurrentJobsId,
  21. string $title,
  22. ?string $xmlSection = null,
  23. ?string $integratedExternalPartnerCustomerId = null,
  24. ?string $joboffererProfilesId = null
  25. ) {
  26. $this->datetimeIdentifier = $datetimeIdentifier;
  27. $this->xmlFeedCategory = $xmlFeedCategory;
  28. $this->recurrentJobsId = $recurrentJobsId;
  29. $this->xmlSection = $xmlSection;
  30. $this->title = $title;
  31. $this->integratedExternalPartnerCustomerId = $integratedExternalPartnerCustomerId;
  32. $this->joboffererProfilesId = $joboffererProfilesId;
  33. }
  34. /**
  35. * @ORM\Column(name="datetime_identifier", type="string")
  36. *
  37. * @ORM\Id
  38. */
  39. protected string $datetimeIdentifier;
  40. /**
  41. * @ORM\Column(name="xml_section", type="text", length=8192, nullable=true)
  42. */
  43. private ?string $xmlSection = null;
  44. /**
  45. * @ORM\Column(name="title", type="string", nullable=false)
  46. */
  47. private string $title;
  48. /**
  49. * @ORM\Column(name="xml_feed_category", type="string", nullable=false)
  50. */
  51. protected string $xmlFeedCategory;
  52. /**
  53. * @ORM\Column(name="recurrent_jobs_id", type="string", nullable=false)
  54. *
  55. * @ORM\Id
  56. */
  57. protected string $recurrentJobsId;
  58. /**
  59. * @ORM\Column(name="integrated_external_partner_customers_id", type="string", nullable=true)
  60. */
  61. protected ?string $integratedExternalPartnerCustomerId;
  62. /**
  63. * @ORM\Column(name="jobofferer_profiles_id", type="string", nullable=true)
  64. */
  65. protected ?string $joboffererProfilesId;
  66. public function getDatetimeIdentifier(): string
  67. {
  68. return $this->datetimeIdentifier;
  69. }
  70. public function setDatetimeIdentifier(string $datetimeIdentifier): void
  71. {
  72. $this->datetimeIdentifier = $datetimeIdentifier;
  73. }
  74. public function getXmlSection(): ?string
  75. {
  76. return $this->xmlSection;
  77. }
  78. public function setXmlSection(?string $xmlSection): void
  79. {
  80. $this->xmlSection = $xmlSection;
  81. }
  82. public function getTitle(): string
  83. {
  84. return $this->title;
  85. }
  86. public function setTitle(string $title): void
  87. {
  88. $this->title = $title;
  89. }
  90. public function getXmlFeedCategory(): string
  91. {
  92. return $this->xmlFeedCategory;
  93. }
  94. public function setXmlFeedCategory(string $xmlFeedCategory): void
  95. {
  96. $this->xmlFeedCategory = $xmlFeedCategory;
  97. }
  98. public function setRecurrentJobsId(string $recurrentJobsId): void
  99. {
  100. $this->recurrentJobsId = $recurrentJobsId;
  101. }
  102. public function getRecurrentJobsId(): string
  103. {
  104. return $this->recurrentJobsId;
  105. }
  106. public function getIntegratedExternalPartnerCustomerId(): ?string
  107. {
  108. return $this->integratedExternalPartnerCustomerId;
  109. }
  110. public function getJoboffererProfilesId(): ?string
  111. {
  112. return $this->joboffererProfilesId;
  113. }
  114. }