src/Entity/FormClaim.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormClaimRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FormClaimRepository::class)
  8.  */
  9. class FormClaim extends BaseForm
  10. {
  11.     /**
  12.      * @ORM\Column(type="string", nullable=true)
  13.      * @Assert\Length(max="255")
  14.      */
  15.     private $code;
  16.     /**
  17.      * @ORM\Column(type="string", nullable=true)
  18.      * @Assert\Length(max="255")
  19.      */
  20.     private $establishment;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=true)
  23.      * @Assert\Length(max="255")
  24.      */
  25.     private $name;
  26.     /**
  27.      * @ORM\Column(type="string", nullable=true)
  28.      * @Assert\Length(max="255")
  29.      */
  30.     private $lastname;
  31.     /**
  32.      * @ORM\Column(type="string", nullable=true)
  33.      * @Assert\Length(max="255")
  34.      */
  35.     private $email;
  36.     /**
  37.      * @ORM\Column(type="string", nullable=true)
  38.      * @Assert\Length(max="255")
  39.      */
  40.     private $phone;
  41.     /**
  42.      * @ORM\Column(type="string", nullable=true)
  43.      * @Assert\Length(max="255")
  44.      */
  45.     private $department;
  46.     /**
  47.      * @ORM\Column(type="string", nullable=true)
  48.      * @Assert\Length(max="255")
  49.      */
  50.     private $province;
  51.     /**
  52.      * @ORM\Column(type="string", nullable=true)
  53.      * @Assert\Length(max="255")
  54.      */
  55.     private $district;
  56.     /**
  57.      * @ORM\Column(type="string", nullable=true)
  58.      * @Assert\Length(max="255")
  59.      */
  60.     private $address;
  61.     /**
  62.      * @ORM\Column(type="string", nullable=true)
  63.      * @Assert\Length(max="255")
  64.      */
  65.     private $good;
  66.     /**
  67.      * @ORM\Column(type="string", nullable=true)
  68.      * @Assert\Length(max="255")
  69.      */
  70.     private $order_number;
  71.     /**
  72.      * @ORM\Column(type="string", nullable=true)
  73.      * @Assert\Length(max="255")
  74.      */
  75.     private $amount;
  76.     /**
  77.      * @ORM\Column(type="text", nullable=true)
  78.      */
  79.     private $description;
  80.     /**
  81.      * @ORM\Column(type="string", nullable=true)
  82.      * @Assert\Length(max="255")
  83.      */
  84.     private $type;
  85.     /**
  86.      * @ORM\Column(type="text", nullable=true)
  87.      */
  88.     private $detail;
  89.     /**
  90.      * @ORM\Column(type="text", nullable=true)
  91.      */
  92.     private $demand;
  93.     /**
  94.      * @ORM\Column(type="text", nullable=true)
  95.      */
  96.     private $actions;
  97.     /**
  98.      * @ORM\Column(type="datetime", nullable=true)
  99.      */
  100.     protected $answer_date;
  101.     /**
  102.      * @ORM\Column(type="boolean", nullable=true, options={"default":false})
  103.      */
  104.     private $finished;
  105.     /**
  106.      * @ORM\Column(type="text", nullable=true)
  107.      */
  108.     private $comment;
  109.     /**
  110.      * FormClaim constructor.
  111.      */
  112.     public function __construct()
  113.     {
  114.         parent::__construct();
  115.         $this->answer_date = new \DateTime();
  116.     }
  117.     public function getCode(): ?string
  118.     {
  119.         return $this->code;
  120.     }
  121.     public function setCode(?string $code): self
  122.     {
  123.         $this->code $code;
  124.         return $this;
  125.     }
  126.     public function getEstablishment(): ?string
  127.     {
  128.         return $this->establishment;
  129.     }
  130.     public function setEstablishment(?string $establishment): self
  131.     {
  132.         $this->establishment $establishment;
  133.         return $this;
  134.     }
  135.     public function getName(): ?string
  136.     {
  137.         return $this->name;
  138.     }
  139.     public function setName(?string $name): self
  140.     {
  141.         $this->name $name;
  142.         return $this;
  143.     }
  144.     public function getLastname(): ?string
  145.     {
  146.         return $this->lastname;
  147.     }
  148.     public function setLastname(?string $lastname): self
  149.     {
  150.         $this->lastname $lastname;
  151.         return $this;
  152.     }
  153.     public function getEmail(): ?string
  154.     {
  155.         return $this->email;
  156.     }
  157.     public function setEmail(?string $email): self
  158.     {
  159.         $this->email $email;
  160.         return $this;
  161.     }
  162.     public function getPhone(): ?string
  163.     {
  164.         return $this->phone;
  165.     }
  166.     public function setPhone(?string $phone): self
  167.     {
  168.         $this->phone $phone;
  169.         return $this;
  170.     }
  171.     public function getDepartment(): ?string
  172.     {
  173.         return $this->department;
  174.     }
  175.     public function setDepartment(?string $department): self
  176.     {
  177.         $this->department $department;
  178.         return $this;
  179.     }
  180.     public function getProvince(): ?string
  181.     {
  182.         return $this->province;
  183.     }
  184.     public function setProvince(?string $province): self
  185.     {
  186.         $this->province $province;
  187.         return $this;
  188.     }
  189.     public function getDistrict(): ?string
  190.     {
  191.         return $this->district;
  192.     }
  193.     public function setDistrict(?string $district): self
  194.     {
  195.         $this->district $district;
  196.         return $this;
  197.     }
  198.     public function getAddress(): ?string
  199.     {
  200.         return $this->address;
  201.     }
  202.     public function setAddress(?string $address): self
  203.     {
  204.         $this->address $address;
  205.         return $this;
  206.     }
  207.     public function getGood(): ?string
  208.     {
  209.         return $this->good;
  210.     }
  211.     public function setGood(?string $good): self
  212.     {
  213.         $this->good $good;
  214.         return $this;
  215.     }
  216.     public function getOrderNumber(): ?string
  217.     {
  218.         return $this->order_number;
  219.     }
  220.     public function setOrderNumber(?string $order_number): self
  221.     {
  222.         $this->order_number $order_number;
  223.         return $this;
  224.     }
  225.     public function getAmount(): ?string
  226.     {
  227.         return $this->amount;
  228.     }
  229.     public function setAmount(?string $amount): self
  230.     {
  231.         $this->amount $amount;
  232.         return $this;
  233.     }
  234.     public function getDescription(): ?string
  235.     {
  236.         return $this->description;
  237.     }
  238.     public function setDescription(?string $description): self
  239.     {
  240.         $this->description $description;
  241.         return $this;
  242.     }
  243.     public function getType(): ?string
  244.     {
  245.         return $this->type;
  246.     }
  247.     public function setType(?string $type): self
  248.     {
  249.         $this->type $type;
  250.         return $this;
  251.     }
  252.     public function getDetail(): ?string
  253.     {
  254.         return $this->detail;
  255.     }
  256.     public function setDetail(?string $detail): self
  257.     {
  258.         $this->detail $detail;
  259.         return $this;
  260.     }
  261.     public function getDemand(): ?string
  262.     {
  263.         return $this->demand;
  264.     }
  265.     public function setDemand(?string $demand): self
  266.     {
  267.         $this->demand $demand;
  268.         return $this;
  269.     }
  270.     public function getAnswerDate(): ?\DateTimeInterface
  271.     {
  272.         return $this->answer_date;
  273.     }
  274.     public function setAnswerDate(?\DateTimeInterface $answer_date): self
  275.     {
  276.         $this->answer_date $answer_date;
  277.         return $this;
  278.     }
  279.     public function getFinished(): ?bool
  280.     {
  281.         return $this->finished;
  282.     }
  283.     public function setFinished(?bool $finished): self
  284.     {
  285.         $this->finished $finished;
  286.         return $this;
  287.     }
  288.     public function getComment(): ?string
  289.     {
  290.         return $this->comment;
  291.     }
  292.     public function setComment(?string $comment): self
  293.     {
  294.         $this->comment $comment;
  295.         return $this;
  296.     }
  297.     public function getActions(): ?string
  298.     {
  299.         return $this->actions;
  300.     }
  301.     public function setActions(?string $actions): self
  302.     {
  303.         $this->actions $actions;
  304.         return $this;
  305.     }
  306. }