src/Entity/MafoId/MafoAdvertisers.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\MafoId;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass="App\Repository\MafoAdvertisersRepository")
  7. * @ORM\Table
  8. */
  9. class MafoAdvertisers
  10. {
  11. /**
  12. * @ORM\Column(type="integer")
  13. * @ORM\Id
  14. * @ORM\GeneratedValue(strategy="AUTO")
  15. */
  16. private $id;
  17. /**
  18. * @ORM\Column(type="string", nullable=false)
  19. */
  20. private $name;
  21. /**
  22. * @ORM\Column(type="string", nullable=false)
  23. */
  24. private $accountManagerEmail;
  25. /**
  26. * @ORM\Column(type="string", nullable=true)
  27. */
  28. private $salesManagerEmail;
  29. /**
  30. * @ORM\Column(type="string", nullable=true)
  31. */
  32. private $updatedByEmail;
  33. /**
  34. * @ORM\Column(type="string", nullable=true)
  35. */
  36. private $status;
  37. /**
  38. * @ORM\Column(type="string", nullable=true)
  39. */
  40. private $discountType;
  41. /**
  42. * @ORM\Column(type="integer", nullable=true)
  43. */
  44. private $discountValue;
  45. /**
  46. * @ORM\Column(type="datetime")
  47. */
  48. private $dateUpdated;
  49. /**
  50. * @ORM\Column(type="datetime")
  51. */
  52. private $dateInserted;
  53. public function getId(): ?int
  54. {
  55. return $this->id;
  56. }
  57. public function getName(): ?string
  58. {
  59. return $this->name;
  60. }
  61. public function setName(string $name): self
  62. {
  63. $this->name = $name;
  64. return $this;
  65. }
  66. public function getDateUpdated(): ?\DateTimeInterface
  67. {
  68. return $this->dateUpdated;
  69. }
  70. public function setDateUpdated(\DateTimeInterface $dateUpdated): self
  71. {
  72. $this->dateUpdated = $dateUpdated;
  73. return $this;
  74. }
  75. public function getDateInserted(): ?\DateTimeInterface
  76. {
  77. return $this->dateInserted;
  78. }
  79. public function setDateInserted(\DateTimeInterface $dateInserted): self
  80. {
  81. $this->dateInserted = $dateInserted;
  82. return $this;
  83. }
  84. public function getAccountManagerEmail(): ?string
  85. {
  86. return $this->accountManagerEmail;
  87. }
  88. public function setAccountManagerEmail(string $accountManagerEmail): static
  89. {
  90. $this->accountManagerEmail = $accountManagerEmail;
  91. return $this;
  92. }
  93. public function getSalesManagerEmail(): ?string
  94. {
  95. return $this->salesManagerEmail;
  96. }
  97. public function setSalesManagerEmail(?string $salesManagerEmail): static
  98. {
  99. $this->salesManagerEmail = $salesManagerEmail;
  100. return $this;
  101. }
  102. public function getUpdatedByEmail(): ?string
  103. {
  104. return $this->updatedByEmail;
  105. }
  106. public function setUpdatedByEmail(?string $updatedByEmail): static
  107. {
  108. $this->updatedByEmail = $updatedByEmail;
  109. return $this;
  110. }
  111. public function getStatus(): ?string
  112. {
  113. return $this->status;
  114. }
  115. public function setStatus(?string $status): static
  116. {
  117. $this->status = $status;
  118. return $this;
  119. }
  120. public function getDiscountType(): ?string
  121. {
  122. return $this->discountType;
  123. }
  124. public function setDiscountType(?string $discountType): static
  125. {
  126. $this->discountType = $discountType;
  127. return $this;
  128. }
  129. public function getDiscountValue(): ?int
  130. {
  131. return $this->discountValue;
  132. }
  133. public function setDiscountValue(?int $discountValue): static
  134. {
  135. $this->discountValue = $discountValue;
  136. return $this;
  137. }
  138. }