src/Entity/VehicleForm.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VehicleFormRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassVehicleFormRepository::class)]
  7. class VehicleForm
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column]
  14.     private ?\DateTimeImmutable $createAt null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $name null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $email null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $phone null;
  21.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  22.     private ?\DateTimeInterface $dateShowCar null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $timeShowCar null;
  25.     #[ORM\ManyToOne(inversedBy'vehicleForms')]
  26.     private ?Vehicle $vehicle null;
  27.     #[ORM\Column(typeTypes::TEXT)]
  28.     private ?string $message null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getCreateAt(): ?\DateTimeImmutable
  34.     {
  35.         return $this->createAt;
  36.     }
  37.     public function setCreateAt(\DateTimeImmutable $createAt): self
  38.     {
  39.         $this->createAt $createAt;
  40.         return $this;
  41.     }
  42.     public function getName(): ?string
  43.     {
  44.         return $this->name;
  45.     }
  46.     public function setName(string $name): self
  47.     {
  48.         $this->name $name;
  49.         return $this;
  50.     }
  51.     public function getEmail(): ?string
  52.     {
  53.         return $this->email;
  54.     }
  55.     public function setEmail(string $email): self
  56.     {
  57.         $this->email $email;
  58.         return $this;
  59.     }
  60.     public function getPhone(): ?string
  61.     {
  62.         return $this->phone;
  63.     }
  64.     public function setPhone(string $phone): self
  65.     {
  66.         $this->phone $phone;
  67.         return $this;
  68.     }
  69.     public function getDateShowCar(): ?\DateTimeInterface
  70.     {
  71.         return $this->dateShowCar;
  72.     }
  73.     public function setDateShowCar(?\DateTimeInterface $dateShowCar): self
  74.     {
  75.         $this->dateShowCar $dateShowCar;
  76.         return $this;
  77.     }
  78.     public function getTimeShowCar(): ?string
  79.     {
  80.         return $this->timeShowCar;
  81.     }
  82.     public function setTimeShowCar(string $timeShowCar): self
  83.     {
  84.         $this->timeShowCar $timeShowCar;
  85.         return $this;
  86.     }
  87.     public function getVehicle(): ?Vehicle
  88.     {
  89.         return $this->vehicle;
  90.     }
  91.     public function setVehicle(?Vehicle $vehicle): self
  92.     {
  93.         $this->vehicle $vehicle;
  94.         return $this;
  95.     }
  96.     public function getMessage(): ?string
  97.     {
  98.         return $this->message;
  99.     }
  100.     public function setMessage(string $message): self
  101.     {
  102.         $this->message $message;
  103.         return $this;
  104.     }
  105. }