<?phpnamespace App\Entity;use App\Interfaces\CRMLead;use App\Repository\FormQuotationTrucksRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass=FormQuotationTrucksRepository::class) */class FormQuotationTrucks extends BaseForm implements CRMLead{ /** * @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 $phone; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $email; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $department; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $model; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $crm_model; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $tonnage; /** * @ORM\Column(type="json", nullable=true) */ private $result_crm; /** * FormQuotationTrucks 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 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 getDepartment(): ?string { return $this->department; } public function setDepartment(string $department): self { $this->department = $department; return $this; } public function getModel(): ?string { return $this->model; } public function setModel(string $model): self { $this->model = $model; return $this; } public function getCrmModel(): ?string { return $this->crm_model; } public function setCrmModel(string $crm_model): self { $this->crm_model = $crm_model; return $this; } public function getTonnage(): ?string { return $this->tonnage; } public function setTonnage(string $tonnage): self { $this->tonnage = $tonnage; return $this; } public function getResultCrm(): ?array { return $this->result_crm; } public function setResultCrm(?array $result_crm): self { $this->result_crm = $result_crm; return $this; }}