src/Entity/DealerImport.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DealerImportRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassDealerImportRepository::class)]
  6. class DealerImport
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column]
  13.     private ?\DateTimeImmutable $createAt null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?\DateTime $endAt null;
  16.     #[ORM\Column]
  17.     private ?int $countImport null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $error null;
  20.     #[ORM\ManyToOne(inversedBy'dealerImports')]
  21.     private ?Dealer $dealer null;
  22.     #[ORM\Column]
  23.     private ?int $countForImport null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getCreateAt(): ?\DateTimeImmutable
  29.     {
  30.         return $this->createAt;
  31.     }
  32.     public function setCreateAt(?\DateTimeImmutable $createAt): self
  33.     {
  34.         $this->createAt $createAt;
  35.         return $this;
  36.     }
  37.     public function getEndAt(): ?\DateTime
  38.     {
  39.         return $this->endAt;
  40.     }
  41.     public function setEndAt(?\DateTime $endAt): self
  42.     {
  43.         $this->endAt $endAt;
  44.         return $this;
  45.     }
  46.     public function getCountImport(): ?int
  47.     {
  48.         return $this->countImport;
  49.     }
  50.     public function setCountImport(int $countImport): self
  51.     {
  52.         $this->countImport $countImport;
  53.         return $this;
  54.     }
  55.     public function getError(): ?string
  56.     {
  57.         return $this->error;
  58.     }
  59.     public function setError(?string $error): self
  60.     {
  61.         $this->error $error;
  62.         return $this;
  63.     }
  64.     public function getDealer(): ?Dealer
  65.     {
  66.         return $this->dealer;
  67.     }
  68.     public function setDealer(?Dealer $dealer): self
  69.     {
  70.         $this->dealer $dealer;
  71.         return $this;
  72.     }
  73.     public function getCountForImport(): ?int
  74.     {
  75.         return $this->countForImport;
  76.     }
  77.     public function setCountForImport(int $countForImport): self
  78.     {
  79.         $this->countForImport $countForImport;
  80.         return $this;
  81.     }
  82. }