src/Entity/VehicleForm.php line 10
<?phpnamespace App\Entity;use App\Repository\VehicleFormRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VehicleFormRepository::class)]class VehicleForm{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column]private ?\DateTimeImmutable $createAt = null;#[ORM\Column(length: 255)]private ?string $name = null;#[ORM\Column(length: 255)]private ?string $email = null;#[ORM\Column(length: 255)]private ?string $phone = null;#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateShowCar = null;#[ORM\Column(length: 255, nullable: true)]private ?string $timeShowCar = null;#[ORM\ManyToOne(inversedBy: 'vehicleForms')]private ?Vehicle $vehicle = null;#[ORM\Column(type: Types::TEXT)]private ?string $message = null;public function getId(): ?int{return $this->id;}public function getCreateAt(): ?\DateTimeImmutable{return $this->createAt;}public function setCreateAt(\DateTimeImmutable $createAt): self{$this->createAt = $createAt;return $this;}public function getName(): ?string{return $this->name;}public function setName(string $name): self{$this->name = $name;return $this;}public function getEmail(): ?string{return $this->email;}public function setEmail(string $email): self{$this->email = $email;return $this;}public function getPhone(): ?string{return $this->phone;}public function setPhone(string $phone): self{$this->phone = $phone;return $this;}public function getDateShowCar(): ?\DateTimeInterface{return $this->dateShowCar;}public function setDateShowCar(?\DateTimeInterface $dateShowCar): self{$this->dateShowCar = $dateShowCar;return $this;}public function getTimeShowCar(): ?string{return $this->timeShowCar;}public function setTimeShowCar(string $timeShowCar): self{$this->timeShowCar = $timeShowCar;return $this;}public function getVehicle(): ?Vehicle{return $this->vehicle;}public function setVehicle(?Vehicle $vehicle): self{$this->vehicle = $vehicle;return $this;}public function getMessage(): ?string{return $this->message;}public function setMessage(string $message): self{$this->message = $message;return $this;}}