<?phpnamespace App\Entity\Logs;use Doctrine\ORM\Mapping as ORM;/** * PayPalHistoryEmail * * @ORM\Table(name="paypal_history_email") * * @ORM\Entity(repositoryClass="App\Repository\Logs\PayPalHistoryEmailRepository") */class PayPalHistoryEmail{ /** * @ORM\Id() * * @ORM\GeneratedValue() * * @ORM\Column(type="integer", name="id_history") */ private int $id; /** * @ORM\Column(type="integer") */ private int $customerId; /** * @ORM\Column(type="string", length=100, nullable=true) */ private ?string $emailPaypal = null; /** * @ORM\Column(type="string", length=25, nullable=true) */ private ?string $idPayerPaypal = null; /** * @var \DateTime * * @ORM\Column(type="datetime") */ private \DateTime $dateAdd; public function __construct() { $this->dateAdd = new \DateTime(); } public function getId(): int { return $this->id; } public function setId(int $id): void { $this->id = $id; } public function getCustomerId(): int { return $this->customerId; } public function setCustomerId(int $customerId): void { $this->customerId = $customerId; } public function getEmailPaypal(): ?string { return $this->emailPaypal; } public function setEmailPaypal(?string $emailPaypal): void { $this->emailPaypal = $emailPaypal; } public function getIdPayerPaypal(): ?string { return $this->idPayerPaypal; } public function setIdPayerPaypal(?string $idPayerPaypal): void { $this->idPayerPaypal = $idPayerPaypal; } public function getDateAdd(): \DateTime { return $this->dateAdd; } public function setDateAdd(\DateTime $dateAdd): void { $this->dateAdd = $dateAdd; }}