src/Entity/PaymentNotificationLog.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PaymentNotificationLogRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=PaymentNotificationLogRepository::class)
  7. */
  8. class PaymentNotificationLog
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="datetime", nullable=true)
  18. */
  19. private $dateAdd;
  20. /**
  21. * @ORM\Column(type="string", length=255, nullable=true)
  22. */
  23. private $phonenumber;
  24. /**
  25. * @ORM\Column(type="string", length=255, nullable=true)
  26. */
  27. private $email;
  28. /**
  29. * @ORM\ManyToOne(targetEntity=Guardian::class, inversedBy="paymentNotificationLogs")
  30. */
  31. private $guardian;
  32. /**
  33. * @ORM\ManyToOne(targetEntity=Payment::class, inversedBy="paymentNotificationLogs")
  34. */
  35. private $payment;
  36. /**
  37. * @ORM\Column(type="text", nullable=true)
  38. */
  39. private $smsContent;
  40. /**
  41. * @ORM\Column(type="string", length=255, nullable=true)
  42. */
  43. private $notificationType;
  44. public function getId(): ?int
  45. {
  46. return $this->id;
  47. }
  48. public function getDateAdd(): ?\DateTimeInterface
  49. {
  50. return $this->dateAdd;
  51. }
  52. public function setDateAdd(?\DateTimeInterface $dateAdd): self
  53. {
  54. $this->dateAdd = $dateAdd;
  55. return $this;
  56. }
  57. public function getPhonenumber(): ?string
  58. {
  59. return $this->phonenumber;
  60. }
  61. public function setPhonenumber(?string $phonenumber): self
  62. {
  63. $this->phonenumber = $phonenumber;
  64. return $this;
  65. }
  66. public function getEmail(): ?string
  67. {
  68. return $this->email;
  69. }
  70. public function setEmail(?string $email): self
  71. {
  72. $this->email = $email;
  73. return $this;
  74. }
  75. public function getGuardian(): ?Guardian
  76. {
  77. return $this->guardian;
  78. }
  79. public function setGuardian(?Guardian $guardian): self
  80. {
  81. $this->guardian = $guardian;
  82. return $this;
  83. }
  84. public function getPayment(): ?Payment
  85. {
  86. return $this->payment;
  87. }
  88. public function setPayment(?Payment $payment): self
  89. {
  90. $this->payment = $payment;
  91. return $this;
  92. }
  93. public function getSmsContent(): ?string
  94. {
  95. return $this->smsContent;
  96. }
  97. public function setSmsContent(?string $smsContent): self
  98. {
  99. $this->smsContent = $smsContent;
  100. return $this;
  101. }
  102. public function getNotificationType(): ?string
  103. {
  104. return $this->notificationType;
  105. }
  106. public function setNotificationType(?string $notificationType): self
  107. {
  108. $this->notificationType = $notificationType;
  109. return $this;
  110. }
  111. }