<?phpnamespace App\Entity;use App\Repository\FormTruckRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass=FormTruckRepository::class) */class FormTruck extends BaseForm{ /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $type_person; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $document_type; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $document_number; /** * @ORM\Column(type="string", nullable=true) * @Assert\Length(max="255") */ private $company; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $name; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $lastname; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $department; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $phone; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $email; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $model; /** * FormTruck constructor. */ public function __construct() { parent::__construct(); } public function getTypePerson(): ?string { return $this->type_person; } public function setTypePerson(string $type_person): self { $this->type_person = $type_person; return $this; } public function getDocumentType(): ?string { return $this->document_type; } public function setDocumentType(string $document_type): self { $this->document_type = $document_type; return $this; } public function getDocumentNumber(): ?string { return $this->document_number; } public function setDocumentNumber(string $document_number): self { $this->document_number = $document_number; return $this; } public function getCompany(): ?string { return $this->company; } public function setCompany(?string $company): self { $this->company = $company; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getLastname(): ?string { return $this->lastname; } public function setLastname(string $lastname): self { $this->lastname = $lastname; return $this; } public function getDepartment(): ?string { return $this->department; } public function setDepartment(string $department): self { $this->department = $department; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(string $phone): self { $this->phone = $phone; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getModel(): ?string { return $this->model; } public function setModel(string $model): self { $this->model = $model; return $this; }}