src/Entity/MontonioLog.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\GuardianRegister\GuardianRegister;
  4. use App\Repository\MontonioLogRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7. * @ORM\Entity(repositoryClass=MontonioLogRepository::class)
  8. */
  9. class MontonioLog
  10. {
  11. /**
  12. * @ORM\Id
  13. * @ORM\GeneratedValue
  14. * @ORM\Column(type="integer")
  15. */
  16. private $id;
  17. /**
  18. * @ORM\ManyToOne(targetEntity=Guardian::class)
  19. */
  20. private $guardian;
  21. /**
  22. * @ORM\ManyToOne(targetEntity=Payment::class)
  23. */
  24. private $payment;
  25. /**
  26. * @ORM\Column(type="string", length=255, nullable=true)
  27. */
  28. private $uuid;
  29. /**
  30. * @ORM\Column(type="string", length=255, nullable=true)
  31. */
  32. private $status;
  33. /**
  34. * @ORM\Column(type="float", nullable=true)
  35. */
  36. private $amount;
  37. /**
  38. * @ORM\Column(type="datetime", nullable=true)
  39. */
  40. private $createdAt;
  41. /**
  42. * @ORM\Column(type="datetime", nullable=true)
  43. */
  44. private $updatedAt;
  45. /**
  46. * @ORM\ManyToOne(targetEntity=GuardianRegister::class, inversedBy="montonioLogs")
  47. */
  48. private $guardianRegister;
  49. /**
  50. * @ORM\ManyToOne(targetEntity=EarlyPayment::class, inversedBy="montonioLogs")
  51. */
  52. private $earlyPayment;
  53. public function getId(): ?int
  54. {
  55. return $this->id;
  56. }
  57. public function getGuardian(): ?Guardian
  58. {
  59. return $this->guardian;
  60. }
  61. public function setGuardian(?Guardian $guardian): self
  62. {
  63. $this->guardian = $guardian;
  64. return $this;
  65. }
  66. public function getPayment(): ?Payment
  67. {
  68. return $this->payment;
  69. }
  70. public function setPayment(?Payment $payment): self
  71. {
  72. $this->payment = $payment;
  73. return $this;
  74. }
  75. public function getUuid(): ?string
  76. {
  77. return $this->uuid;
  78. }
  79. public function setUuid(?string $uuid): self
  80. {
  81. $this->uuid = $uuid;
  82. return $this;
  83. }
  84. public function getStatus(): ?string
  85. {
  86. return $this->status;
  87. }
  88. public function setStatus(?string $status): self
  89. {
  90. $this->status = $status;
  91. return $this;
  92. }
  93. public function getAmount(): ?float
  94. {
  95. return $this->amount;
  96. }
  97. public function setAmount(?float $amount): self
  98. {
  99. $this->amount = $amount;
  100. return $this;
  101. }
  102. public function getCreatedAt(): ?\DateTimeInterface
  103. {
  104. return $this->createdAt;
  105. }
  106. public function setCreatedAt(?\DateTimeInterface $createdAt): self
  107. {
  108. $this->createdAt = $createdAt;
  109. return $this;
  110. }
  111. public function getUpdatedAt(): ?\DateTimeInterface
  112. {
  113. return $this->updatedAt;
  114. }
  115. public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  116. {
  117. $this->updatedAt = $updatedAt;
  118. return $this;
  119. }
  120. public function getGuardianRegister(): ?GuardianRegister
  121. {
  122. return $this->guardianRegister;
  123. }
  124. public function setGuardianRegister(?GuardianRegister $guardianRegister): self
  125. {
  126. $this->guardianRegister = $guardianRegister;
  127. return $this;
  128. }
  129. public function getEarlyPayment(): ?EarlyPayment
  130. {
  131. return $this->earlyPayment;
  132. }
  133. public function setEarlyPayment(?EarlyPayment $earlyPayment): self
  134. {
  135. $this->earlyPayment = $earlyPayment;
  136. return $this;
  137. }
  138. }