src/Entity/Logs/PayPalHistoryEmail.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Logs;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * PayPalHistoryEmail
  6. *
  7. * @ORM\Table(name="paypal_history_email")
  8. *
  9. * @ORM\Entity(repositoryClass="App\Repository\Logs\PayPalHistoryEmailRepository")
  10. */
  11. class PayPalHistoryEmail
  12. {
  13. /**
  14. * @ORM\Id()
  15. *
  16. * @ORM\GeneratedValue()
  17. *
  18. * @ORM\Column(type="integer", name="id_history")
  19. */
  20. private int $id;
  21. /**
  22. * @ORM\Column(type="integer")
  23. */
  24. private int $customerId;
  25. /**
  26. * @ORM\Column(type="string", length=100, nullable=true)
  27. */
  28. private ?string $emailPaypal = null;
  29. /**
  30. * @ORM\Column(type="string", length=25, nullable=true)
  31. */
  32. private ?string $idPayerPaypal = null;
  33. /**
  34. * @var \DateTime
  35. *
  36. * @ORM\Column(type="datetime")
  37. */
  38. private \DateTime $dateAdd;
  39. public function __construct()
  40. {
  41. $this->dateAdd = new \DateTime();
  42. }
  43. public function getId(): int
  44. {
  45. return $this->id;
  46. }
  47. public function setId(int $id): void
  48. {
  49. $this->id = $id;
  50. }
  51. public function getCustomerId(): int
  52. {
  53. return $this->customerId;
  54. }
  55. public function setCustomerId(int $customerId): void
  56. {
  57. $this->customerId = $customerId;
  58. }
  59. public function getEmailPaypal(): ?string
  60. {
  61. return $this->emailPaypal;
  62. }
  63. public function setEmailPaypal(?string $emailPaypal): void
  64. {
  65. $this->emailPaypal = $emailPaypal;
  66. }
  67. public function getIdPayerPaypal(): ?string
  68. {
  69. return $this->idPayerPaypal;
  70. }
  71. public function setIdPayerPaypal(?string $idPayerPaypal): void
  72. {
  73. $this->idPayerPaypal = $idPayerPaypal;
  74. }
  75. public function getDateAdd(): \DateTime
  76. {
  77. return $this->dateAdd;
  78. }
  79. public function setDateAdd(\DateTime $dateAdd): void
  80. {
  81. $this->dateAdd = $dateAdd;
  82. }
  83. }