src/Entity/FormQuotationTrucks.php line 12

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