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 $name;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=true)
  23.      * @Assert\Length(max="255")
  24.      */
  25.     private $apellido_paterno;
  26.     /**
  27.      * @ORM\Column(type="string", nullable=true)
  28.      * @Assert\Length(max="255")
  29.      */
  30.     private $apellido_materno;
  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 $document_type;
  46.     /**
  47.      * @ORM\Column(type="string", nullable=true)
  48.      * @Assert\Length(max="255")
  49.      */
  50.     private $document_number;
  51.     /**
  52.      * @ORM\Column(type="string", nullable=true)
  53.      * @Assert\Length(max="255")
  54.      */
  55.     private $ciudad;
  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="integer", nullable=true)
  68.      */
  69.     private $moneda_id;
  70.     /**
  71.      * @ORM\Column(type="string", nullable=true)
  72.      * @Assert\Length(max="255")
  73.      */
  74.     private $monto;
  75.     /**
  76.      * @ORM\Column(type="text", nullable=true)
  77.      */
  78.     private $description;
  79.     /**
  80.      * @ORM\Column(type="string", nullable=true)
  81.      * @Assert\Length(max="255")
  82.      */
  83.     private $type;
  84.     /**
  85.      * @ORM\Column(type="text", nullable=true)
  86.      */
  87.     private $detail;
  88.     /**
  89.      * @ORM\Column(type="text", nullable=true)
  90.      */
  91.     private $demand;
  92.     /**
  93.      * @ORM\Column(type="datetime", nullable=true)
  94.      */
  95.     protected $answer_date;
  96.     /**
  97.      * @ORM\Column(type="boolean", options={"default": false})
  98.      */
  99.     private $saved;
  100.     /**
  101.      * @ORM\Column(type="boolean", nullable=true, options={"default":false})
  102.      */
  103.     private $finished;
  104.     /**
  105.      * @ORM\Column(type="text", nullable=true)
  106.      */
  107.     private $comment;
  108.     /**
  109.      * @ORM\Column(type="text", nullable=true)
  110.      */
  111.     private $firma;
  112.     /**
  113.      * @ORM\Column(type="string", length=64, nullable=true, unique=true)
  114.      */
  115.     private $uniq;
  116.     /**
  117.      * @ORM\Column(type="boolean", nullable=true, options={"default":false})
  118.      */
  119.     private $esmenor;
  120.     /**
  121.      * @ORM\Column(type="string", nullable=true)
  122.      */
  123.     private $apoderado_nombre;
  124.     /**
  125.      * @ORM\Column(type="string", nullable=true)
  126.      */
  127.     private $apoderado_apellido_paterno;
  128.     /**
  129.      * @ORM\Column(type="string", nullable=true)
  130.      */
  131.     private $apoderado_apellido_materno;
  132.     /**
  133.      * @ORM\Column(type="string", nullable=true)
  134.      */
  135.     private $apoderado_tipodocumento;
  136.     /**
  137.      * @ORM\Column(type="string", nullable=true)
  138.      */
  139.     private $apoderado_numerodocumento;
  140.     /**
  141.      * @ORM\Column(type="string", nullable=true)
  142.      */
  143.     private $apoderado_email;
  144.     /**
  145.      * @ORM\Column(type="string", nullable=true)
  146.      */
  147.     private $apoderado_telefono;
  148.     /**
  149.      * FormClaim constructor.
  150.      */
  151.     public function __construct()
  152.     {
  153.         parent::__construct();
  154.         $this->saved false;
  155.         $this->created_at = new \DateTime();
  156.         $this->modified_at = new \DateTime();
  157.         $this->answer_date = new \DateTime();
  158.         $this->esmenor false;
  159.     }
  160.     public function getCode(): ?string
  161.     {
  162.         return $this->code;
  163.     }
  164.     public function setCode(?string $code): self
  165.     {
  166.         $this->code $code;
  167.         return $this;
  168.     }
  169.     public function getName(): ?string
  170.     {
  171.         return $this->name;
  172.     }
  173.     public function setName(?string $name): self
  174.     {
  175.         $this->name $name;
  176.         return $this;
  177.     }
  178.     public function getApellidoPaterno(): ?string
  179.     {
  180.         return $this->apellido_paterno;
  181.     }
  182.     public function setApellidoPaterno(?string $apellido_paterno): self
  183.     {
  184.         $this->apellido_paterno $apellido_paterno;
  185.         return $this;
  186.     }
  187.     public function getApellidoMaterno(): ?string
  188.     {
  189.         return $this->apellido_materno;
  190.     }
  191.     public function setApellidoMaterno(?string $apellido_materno): self
  192.     {
  193.         $this->apellido_materno $apellido_materno;
  194.         return $this;
  195.     }
  196.     public function getEmail(): ?string
  197.     {
  198.         return $this->email;
  199.     }
  200.     public function setEmail(?string $email): self
  201.     {
  202.         $this->email $email;
  203.         return $this;
  204.     }
  205.     public function getPhone(): ?string
  206.     {
  207.         return $this->phone;
  208.     }
  209.     public function setPhone(?string $phone): self
  210.     {
  211.         $this->phone $phone;
  212.         return $this;
  213.     }
  214.     public function getDocumentType(): ?string
  215.     {
  216.         return $this->document_type;
  217.     }
  218.     public function setDocumentType(?string $document_type): self
  219.     {
  220.         $this->document_type $document_type;
  221.         return $this;
  222.     }
  223.     public function getDocumentNumber(): ?string
  224.     {
  225.         return $this->document_number;
  226.     }
  227.     public function setDocumentNumber(?string $document_number): self
  228.     {
  229.         $this->document_number $document_number;
  230.         return $this;
  231.     }
  232.     public function getCiudad(): ?string
  233.     {
  234.         return $this->ciudad;
  235.     }
  236.     public function setCiudad(?string $ciudad): self
  237.     {
  238.         $this->ciudad $ciudad;
  239.         return $this;
  240.     }
  241.     public function getAddress(): ?string
  242.     {
  243.         return $this->address;
  244.     }
  245.     public function setAddress(?string $address): self
  246.     {
  247.         $this->address $address;
  248.         return $this;
  249.     }
  250.     public function getGood(): ?string
  251.     {
  252.         return $this->good;
  253.     }
  254.     public function setGood(?string $good): self
  255.     {
  256.         $this->good $good;
  257.         return $this;
  258.     }
  259.     public function getMonedaId(): ?int
  260.     {
  261.         return $this->moneda_id;
  262.     }
  263.     public function setMonedaId(?int $moneda_id): self
  264.     {
  265.         $this->moneda_id $moneda_id;
  266.         return $this;
  267.     }
  268.     public function getMonto(): ?string
  269.     {
  270.         return $this->monto;
  271.     }
  272.     public function setMonto(?string $monto): self
  273.     {
  274.         $this->monto $monto;
  275.         return $this;
  276.     }
  277.     public function getDescription(): ?string
  278.     {
  279.         return $this->description;
  280.     }
  281.     public function setDescription(?string $description): self
  282.     {
  283.         $this->description $description;
  284.         return $this;
  285.     }
  286.     public function getType(): ?string
  287.     {
  288.         return $this->type;
  289.     }
  290.     public function setType(?string $type): self
  291.     {
  292.         $this->type $type;
  293.         return $this;
  294.     }
  295.     public function getDetail(): ?string
  296.     {
  297.         return $this->detail;
  298.     }
  299.     public function setDetail(?string $detail): self
  300.     {
  301.         $this->detail $detail;
  302.         return $this;
  303.     }
  304.     public function getDemand(): ?string
  305.     {
  306.         return $this->demand;
  307.     }
  308.     public function setDemand(?string $demand): self
  309.     {
  310.         $this->demand $demand;
  311.         return $this;
  312.     }
  313.     public function getAnswerDate(): ?\DateTimeInterface
  314.     {
  315.         return $this->answer_date;
  316.     }
  317.     public function setAnswerDate(?\DateTimeInterface $answer_date): self
  318.     {
  319.         $this->answer_date $answer_date;
  320.         return $this;
  321.     }
  322.     public function getSaved(): ?bool
  323.     {
  324.         return $this->saved;
  325.     }
  326.     public function setSaved(bool $saved): self
  327.     {
  328.         $this->saved $saved;
  329.         return $this;
  330.     }
  331.     public function getFinished(): ?bool
  332.     {
  333.         return $this->finished;
  334.     }
  335.     public function setFinished(?bool $finished): self
  336.     {
  337.         $this->finished $finished;
  338.         return $this;
  339.     }
  340.     public function getComment(): ?string
  341.     {
  342.         return $this->comment;
  343.     }
  344.     public function setComment(?string $comment): self
  345.     {
  346.         $this->comment $comment;
  347.         return $this;
  348.     }
  349.     public function getFirma(): ?string
  350.     {
  351.         return $this->firma;
  352.     }
  353.     public function setFirma(?string $firma): self
  354.     {
  355.         $this->firma $firma;
  356.         return $this;
  357.     }
  358.     public function getUniq(): ?string
  359.     {
  360.         return $this->uniq;
  361.     }
  362.     public function setUniq(?string $uniq): self
  363.     {
  364.         $this->uniq $uniq;
  365.         return $this;
  366.     }
  367.     public function getEsmenor(): ?bool
  368.     {
  369.         return $this->esmenor;
  370.     }
  371.     public function setEsmenor(?bool $esmenor): self
  372.     {
  373.         $this->esmenor $esmenor;
  374.         return $this;
  375.     }
  376.     public function getApoderadoNombre(): ?string
  377.     {
  378.         return $this->apoderado_nombre;
  379.     }
  380.     public function setApoderadoNombre(?string $apoderado_nombre): self
  381.     {
  382.         $this->apoderado_nombre $apoderado_nombre;
  383.         return $this;
  384.     }
  385.     public function getApoderadoApellidoPaterno(): ?string
  386.     {
  387.         return $this->apoderado_apellido_paterno;
  388.     }
  389.     public function setApoderadoApellidoPaterno(?string $apoderado_apellido_paterno): self
  390.     {
  391.         $this->apoderado_apellido_paterno $apoderado_apellido_paterno;
  392.         return $this;
  393.     }
  394.     public function getApoderadoApellidoMaterno(): ?string
  395.     {
  396.         return $this->apoderado_apellido_materno;
  397.     }
  398.     public function setApoderadoApellidoMaterno(?string $apoderado_apellido_materno): self
  399.     {
  400.         $this->apoderado_apellido_materno $apoderado_apellido_materno;
  401.         return $this;
  402.     }
  403.     public function getApoderadoTipodocumento(): ?string
  404.     {
  405.         return $this->apoderado_tipodocumento;
  406.     }
  407.     public function setApoderadoTipodocumento(?string $apoderado_tipodocumento): self
  408.     {
  409.         $this->apoderado_tipodocumento $apoderado_tipodocumento;
  410.         return $this;
  411.     }
  412.     public function getApoderadoNumerodocumento(): ?string
  413.     {
  414.         return $this->apoderado_numerodocumento;
  415.     }
  416.     public function setApoderadoNumerodocumento(?string $apoderado_numerodocumento): self
  417.     {
  418.         $this->apoderado_numerodocumento $apoderado_numerodocumento;
  419.         return $this;
  420.     }
  421.     public function getApoderadoEmail(): ?string
  422.     {
  423.         return $this->apoderado_email;
  424.     }
  425.     public function setApoderadoEmail(?string $apoderado_email): self
  426.     {
  427.         $this->apoderado_email $apoderado_email;
  428.         return $this;
  429.     }
  430.     public function getApoderadoTelefono(): ?string
  431.     {
  432.         return $this->apoderado_telefono;
  433.     }
  434.     public function setApoderadoTelefono(?string $apoderado_telefono): self
  435.     {
  436.         $this->apoderado_telefono $apoderado_telefono;
  437.         return $this;
  438.     }
  439. }