src/Entity/FormQuotationTrucks.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Interfaces\CRMLead;
  4. use App\Repository\FormQuotationTrucksRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Symfony\Component\Validator\Constraints as Assert;
  7. /**
  8.  * @ORM\Entity(repositoryClass=FormQuotationTrucksRepository::class)
  9.  */
  10. class FormQuotationTrucks extends BaseForm implements CRMLead
  11. {
  12.     /**
  13.      * @ORM\Column(type="string")
  14.      * @Assert\Length(max="255")
  15.      * @Assert\NotBlank()
  16.      */
  17.     private $type_person;
  18.     /**
  19.      * @ORM\Column(type="string")
  20.      * @Assert\Length(max="255")
  21.      * @Assert\NotBlank()
  22.      */
  23.     private $document_type;
  24.     /**
  25.      * @ORM\Column(type="string")
  26.      * @Assert\Length(max="255")
  27.      * @Assert\NotBlank()
  28.      */
  29.     private $document_number;
  30.     /**
  31.      * @ORM\Column(type="string", nullable=true)
  32.      * @Assert\Length(max="255")
  33.      */
  34.     private $company;
  35.     /**
  36.      * @ORM\Column(type="string")
  37.      * @Assert\Length(max="255")
  38.      * @Assert\NotBlank()
  39.      */
  40.     private $name;
  41.     /**
  42.      * @ORM\Column(type="string")
  43.      * @Assert\Length(max="255")
  44.      * @Assert\NotBlank()
  45.      */
  46.     private $lastname;
  47.     /**
  48.      * @ORM\Column(type="string")
  49.      * @Assert\Length(max="255")
  50.      * @Assert\NotBlank()
  51.      */
  52.     private $phone;
  53.     /**
  54.      * @ORM\Column(type="string")
  55.      * @Assert\Length(max="255")
  56.      * @Assert\NotBlank()
  57.      */
  58.     private $email;
  59.     /**
  60.      * @ORM\Column(type="string")
  61.      * @Assert\Length(max="255")
  62.      * @Assert\NotBlank()
  63.      */
  64.     private $department;
  65.     /**
  66.      * @ORM\Column(type="string")
  67.      * @Assert\Length(max="255")
  68.      * @Assert\NotBlank()
  69.      */
  70.     private $model;
  71.     /**
  72.      * @ORM\Column(type="string")
  73.      * @Assert\Length(max="255")
  74.      * @Assert\NotBlank()
  75.      */
  76.     private $crm_model;
  77.     /**
  78.      * @ORM\Column(type="string")
  79.      * @Assert\Length(max="255")
  80.      * @Assert\NotBlank()
  81.      */
  82.     private $tonnage;
  83.     /**
  84.      * @ORM\Column(type="json", nullable=true)
  85.      */
  86.     private $result_crm;
  87.     /**
  88.      * FormQuotationTrucks constructor.
  89.      */
  90.     public function __construct()
  91.     {
  92.         parent::__construct();
  93.     }
  94.     public function getTypePerson(): ?string
  95.     {
  96.         return $this->type_person;
  97.     }
  98.     public function setTypePerson(string $type_person): self
  99.     {
  100.         $this->type_person $type_person;
  101.         return $this;
  102.     }
  103.     public function getDocumentType(): ?string
  104.     {
  105.         return $this->document_type;
  106.     }
  107.     public function setDocumentType(string $document_type): self
  108.     {
  109.         $this->document_type $document_type;
  110.         return $this;
  111.     }
  112.     public function getDocumentNumber(): ?string
  113.     {
  114.         return $this->document_number;
  115.     }
  116.     public function setDocumentNumber(string $document_number): self
  117.     {
  118.         $this->document_number $document_number;
  119.         return $this;
  120.     }
  121.     public function getCompany(): ?string
  122.     {
  123.         return $this->company;
  124.     }
  125.     public function setCompany(?string $company): self
  126.     {
  127.         $this->company $company;
  128.         return $this;
  129.     }
  130.     public function getName(): ?string
  131.     {
  132.         return $this->name;
  133.     }
  134.     public function setName(string $name): self
  135.     {
  136.         $this->name $name;
  137.         return $this;
  138.     }
  139.     public function getLastname(): ?string
  140.     {
  141.         return $this->lastname;
  142.     }
  143.     public function setLastname(string $lastname): self
  144.     {
  145.         $this->lastname $lastname;
  146.         return $this;
  147.     }
  148.     public function getPhone(): ?string
  149.     {
  150.         return $this->phone;
  151.     }
  152.     public function setPhone(string $phone): self
  153.     {
  154.         $this->phone $phone;
  155.         return $this;
  156.     }
  157.     public function getEmail(): ?string
  158.     {
  159.         return $this->email;
  160.     }
  161.     public function setEmail(string $email): self
  162.     {
  163.         $this->email $email;
  164.         return $this;
  165.     }
  166.     public function getDepartment(): ?string
  167.     {
  168.         return $this->department;
  169.     }
  170.     public function setDepartment(string $department): self
  171.     {
  172.         $this->department $department;
  173.         return $this;
  174.     }
  175.     public function getModel(): ?string
  176.     {
  177.         return $this->model;
  178.     }
  179.     public function setModel(string $model): self
  180.     {
  181.         $this->model $model;
  182.         return $this;
  183.     }
  184.     public function getCrmModel(): ?string
  185.     {
  186.         return $this->crm_model;
  187.     }
  188.     public function setCrmModel(string $crm_model): self
  189.     {
  190.         $this->crm_model $crm_model;
  191.         return $this;
  192.     }
  193.     public function getTonnage(): ?string
  194.     {
  195.         return $this->tonnage;
  196.     }
  197.     public function setTonnage(string $tonnage): self
  198.     {
  199.         $this->tonnage $tonnage;
  200.         return $this;
  201.     }
  202.     public function getResultCrm(): ?array
  203.     {
  204.         return $this->result_crm;
  205.     }
  206.     public function setResultCrm(?array $result_crm): self
  207.     {
  208.         $this->result_crm $result_crm;
  209.         return $this;
  210.     }
  211. }