<?php
namespace App\Entity;
use App\Repository\FormClaimRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass=FormClaimRepository::class)
*/
class FormClaim extends BaseForm
{
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $code;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $name;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $apellido_paterno;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $apellido_materno;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $email;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $phone;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $document_type;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $document_number;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $ciudad;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $address;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $good;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $moneda_id;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $monto;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $type;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $detail;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $demand;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
protected $answer_date;
/**
* @ORM\Column(type="boolean", options={"default": false})
*/
private $saved;
/**
* @ORM\Column(type="boolean", nullable=true, options={"default":false})
*/
private $finished;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $comment;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $firma;
/**
* @ORM\Column(type="string", length=64, nullable=true, unique=true)
*/
private $uniq;
/**
* @ORM\Column(type="boolean", nullable=true, options={"default":false})
*/
private $esmenor;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_nombre;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_apellido_paterno;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_apellido_materno;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_tipodocumento;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_numerodocumento;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_email;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $apoderado_telefono;
/**
* FormClaim constructor.
*/
public function __construct()
{
parent::__construct();
$this->saved = false;
$this->created_at = new \DateTime();
$this->modified_at = new \DateTime();
$this->answer_date = new \DateTime();
$this->esmenor = false;
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getApellidoPaterno(): ?string
{
return $this->apellido_paterno;
}
public function setApellidoPaterno(?string $apellido_paterno): self
{
$this->apellido_paterno = $apellido_paterno;
return $this;
}
public function getApellidoMaterno(): ?string
{
return $this->apellido_materno;
}
public function setApellidoMaterno(?string $apellido_materno): self
{
$this->apellido_materno = $apellido_materno;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
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 getCiudad(): ?string
{
return $this->ciudad;
}
public function setCiudad(?string $ciudad): self
{
$this->ciudad = $ciudad;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getGood(): ?string
{
return $this->good;
}
public function setGood(?string $good): self
{
$this->good = $good;
return $this;
}
public function getMonedaId(): ?int
{
return $this->moneda_id;
}
public function setMonedaId(?int $moneda_id): self
{
$this->moneda_id = $moneda_id;
return $this;
}
public function getMonto(): ?string
{
return $this->monto;
}
public function setMonto(?string $monto): self
{
$this->monto = $monto;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getDetail(): ?string
{
return $this->detail;
}
public function setDetail(?string $detail): self
{
$this->detail = $detail;
return $this;
}
public function getDemand(): ?string
{
return $this->demand;
}
public function setDemand(?string $demand): self
{
$this->demand = $demand;
return $this;
}
public function getAnswerDate(): ?\DateTimeInterface
{
return $this->answer_date;
}
public function setAnswerDate(?\DateTimeInterface $answer_date): self
{
$this->answer_date = $answer_date;
return $this;
}
public function getSaved(): ?bool
{
return $this->saved;
}
public function setSaved(bool $saved): self
{
$this->saved = $saved;
return $this;
}
public function getFinished(): ?bool
{
return $this->finished;
}
public function setFinished(?bool $finished): self
{
$this->finished = $finished;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): self
{
$this->comment = $comment;
return $this;
}
public function getFirma(): ?string
{
return $this->firma;
}
public function setFirma(?string $firma): self
{
$this->firma = $firma;
return $this;
}
public function getUniq(): ?string
{
return $this->uniq;
}
public function setUniq(?string $uniq): self
{
$this->uniq = $uniq;
return $this;
}
public function getEsmenor(): ?bool
{
return $this->esmenor;
}
public function setEsmenor(?bool $esmenor): self
{
$this->esmenor = $esmenor;
return $this;
}
public function getApoderadoNombre(): ?string
{
return $this->apoderado_nombre;
}
public function setApoderadoNombre(?string $apoderado_nombre): self
{
$this->apoderado_nombre = $apoderado_nombre;
return $this;
}
public function getApoderadoApellidoPaterno(): ?string
{
return $this->apoderado_apellido_paterno;
}
public function setApoderadoApellidoPaterno(?string $apoderado_apellido_paterno): self
{
$this->apoderado_apellido_paterno = $apoderado_apellido_paterno;
return $this;
}
public function getApoderadoApellidoMaterno(): ?string
{
return $this->apoderado_apellido_materno;
}
public function setApoderadoApellidoMaterno(?string $apoderado_apellido_materno): self
{
$this->apoderado_apellido_materno = $apoderado_apellido_materno;
return $this;
}
public function getApoderadoTipodocumento(): ?string
{
return $this->apoderado_tipodocumento;
}
public function setApoderadoTipodocumento(?string $apoderado_tipodocumento): self
{
$this->apoderado_tipodocumento = $apoderado_tipodocumento;
return $this;
}
public function getApoderadoNumerodocumento(): ?string
{
return $this->apoderado_numerodocumento;
}
public function setApoderadoNumerodocumento(?string $apoderado_numerodocumento): self
{
$this->apoderado_numerodocumento = $apoderado_numerodocumento;
return $this;
}
public function getApoderadoEmail(): ?string
{
return $this->apoderado_email;
}
public function setApoderadoEmail(?string $apoderado_email): self
{
$this->apoderado_email = $apoderado_email;
return $this;
}
public function getApoderadoTelefono(): ?string
{
return $this->apoderado_telefono;
}
public function setApoderadoTelefono(?string $apoderado_telefono): self
{
$this->apoderado_telefono = $apoderado_telefono;
return $this;
}
}