src/Entity/MafoId/MafoAdvertisersMapping.php line 22

Open in your IDE?
  1. <?php
  2. namespace App\Entity\MafoId;
  3. use Gedmo\Mapping\Annotation as Gedmo;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Doctrine\ORM\Mapping\UniqueConstraint;
  7. /**
  8. * @ORM\Entity(repositoryClass="App\Repository\MafoAdvertisersMappingRepository")
  9. * @ORM\Table(
  10. * indexes={
  11. * @ORM\Index(name="system_identifier", columns={"system_identifier"}),
  12. * @ORM\Index(name="system_identifier_id", columns={"system_identifier_id"})
  13. * },
  14. * uniqueConstraints={
  15. * @UniqueConstraint(name="system_identifier_unique",
  16. * columns={"system_identifier_id", "system_identifier"})
  17. * })
  18. */
  19. class MafoAdvertisersMapping
  20. {
  21. /**
  22. * @ORM\Column(type="integer")
  23. * @ORM\Id
  24. * @ORM\GeneratedValue(strategy="AUTO")
  25. */
  26. private $id;
  27. /**
  28. * @ORM\ManyToOne(targetEntity="MafoAdvertisers")
  29. * @ORM\JoinColumn(name="mafo_advertiser_id", referencedColumnName="id")
  30. */
  31. private $mafoAdvertiserId;
  32. /**
  33. * @ORM\Column(type="string", nullable=false)
  34. */
  35. private $systemIdentifier;
  36. /**
  37. * @ORM\Column(type="integer", nullable=false)
  38. */
  39. private $systemIdentifierId;
  40. /**
  41. * @ORM\Column(type="string", nullable=false)
  42. */
  43. private $addedByEmail;
  44. /**
  45. * @ORM\Column(type="string", nullable=true)
  46. */
  47. private $updatedByEmail;
  48. /**
  49. * @ORM\Column(name="deletedAt", type="datetime", nullable=true)
  50. */
  51. private $deletedAt;
  52. /**
  53. * @ORM\Column(type="datetime")
  54. */
  55. private $dateUpdated;
  56. /**
  57. * @ORM\Column(type="datetime")
  58. */
  59. private $dateInserted;
  60. public function getId(): ?int
  61. {
  62. return $this->id;
  63. }
  64. public function getSystemIdentifier(): ?string
  65. {
  66. return $this->systemIdentifier;
  67. }
  68. public function setSystemIdentifier(string $systemIdentifier): static
  69. {
  70. $this->systemIdentifier = $systemIdentifier;
  71. return $this;
  72. }
  73. public function getSystemIdentifierId(): ?int
  74. {
  75. return $this->systemIdentifierId;
  76. }
  77. public function setSystemIdentifierId(int $systemIdentifierId): static
  78. {
  79. $this->systemIdentifierId = $systemIdentifierId;
  80. return $this;
  81. }
  82. public function getAddedByEmail(): ?string
  83. {
  84. return $this->addedByEmail;
  85. }
  86. public function setAddedByEmail(string $addedByEmail): static
  87. {
  88. $this->addedByEmail = $addedByEmail;
  89. return $this;
  90. }
  91. public function getDeletedAt(): ?\DateTimeInterface
  92. {
  93. return $this->deletedAt;
  94. }
  95. public function setDeletedAt(?\DateTimeInterface $deletedAt): static
  96. {
  97. $this->deletedAt = $deletedAt;
  98. return $this;
  99. }
  100. public function getDateUpdated(): ?\DateTimeInterface
  101. {
  102. return $this->dateUpdated;
  103. }
  104. public function setDateUpdated(\DateTimeInterface $dateUpdated): static
  105. {
  106. $this->dateUpdated = $dateUpdated;
  107. return $this;
  108. }
  109. public function getDateInserted(): ?\DateTimeInterface
  110. {
  111. return $this->dateInserted;
  112. }
  113. public function setDateInserted(\DateTimeInterface $dateInserted): static
  114. {
  115. $this->dateInserted = $dateInserted;
  116. return $this;
  117. }
  118. public function getMafoAdvertiserId(): ?MafoAdvertisers
  119. {
  120. return $this->mafoAdvertiserId;
  121. }
  122. public function setMafoAdvertiserId(?MafoAdvertisers $mafoAdvertiserId): static
  123. {
  124. $this->mafoAdvertiserId = $mafoAdvertiserId;
  125. return $this;
  126. }
  127. public function getUpdatedByEmail(): ?string
  128. {
  129. return $this->updatedByEmail;
  130. }
  131. public function setUpdatedByEmail(?string $updatedByEmail): static
  132. {
  133. $this->updatedByEmail = $updatedByEmail;
  134. return $this;
  135. }
  136. }