<?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 $establishment;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $name;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $lastname;
/**
* @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 $department;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $province;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $district;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $address;
/**
* @ORM\Column(type="boolean", nullable=true, options={"default": false})
*/
private $younger;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_name;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_last_name;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_email;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_phone;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_document_type;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $tutor_document_number;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $good;
/**
* @ORM\Column(type="string", nullable=true)
* @Assert\Length(max="255")
*/
private $amount;
/**
* @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="string", nullable=true)
* @Assert\Length(max="255")
*/
private $file;
/**
* @ORM\Column(type="string", nullable=false)
* @Assert\Length(max="255")
*/
private $authorization;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
protected $answer_date;
/**
* @ORM\Column(type="boolean", options={"default": false})
*/
private $saved;
/**
* FormClaim constructor.
*/
public function __construct()
{
parent::__construct();
$this->younger = false;
$this->saved = false;
$this->answer_date = new \DateTime();
}
public function getCode(): ?string
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
public function getEstablishment(): ?string
{
return $this->establishment;
}
public function setEstablishment(?string $establishment): self
{
$this->establishment = $establishment;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getLastname(): ?string
{
return $this->lastname;
}
public function setLastname(?string $lastname): self
{
$this->lastname = $lastname;
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 getDepartment(): ?string
{
return $this->department;
}
public function setDepartment(?string $department): self
{
$this->department = $department;
return $this;
}
public function getProvince(): ?string
{
return $this->province;
}
public function setProvince(?string $province): self
{
$this->province = $province;
return $this;
}
public function getDistrict(): ?string
{
return $this->district;
}
public function setDistrict(?string $district): self
{
$this->district = $district;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function isYounger(): ?bool
{
return $this->younger;
}
public function setYounger(?bool $younger): self
{
$this->younger = $younger;
return $this;
}
public function getTutorName(): ?string
{
return $this->tutor_name;
}
public function setTutorName(?string $tutor_name): self
{
$this->tutor_name = $tutor_name;
return $this;
}
public function getTutorLastName(): ?string
{
return $this->tutor_last_name;
}
public function setTutorLastName(?string $tutor_last_name): self
{
$this->tutor_last_name = $tutor_last_name;
return $this;
}
public function getTutorEmail(): ?string
{
return $this->tutor_email;
}
public function setTutorEmail(?string $tutor_email): self
{
$this->tutor_email = $tutor_email;
return $this;
}
public function getTutorPhone(): ?string
{
return $this->tutor_phone;
}
public function setTutorPhone(?string $tutor_phone): self
{
$this->tutor_phone = $tutor_phone;
return $this;
}
public function getTutorDocumentType(): ?string
{
return $this->tutor_document_type;
}
public function setTutorDocumentType(?string $tutor_document_type): self
{
$this->tutor_document_type = $tutor_document_type;
return $this;
}
public function getTutorDocumentNumber(): ?string
{
return $this->tutor_document_number;
}
public function setTutorDocumentNumber(?string $tutor_document_number): self
{
$this->tutor_document_number = $tutor_document_number;
return $this;
}
public function getGood(): ?string
{
return $this->good;
}
public function setGood(?string $good): self
{
$this->good = $good;
return $this;
}
public function getAmount(): ?string
{
return $this->amount;
}
public function setAmount(?string $amount): self
{
$this->amount = $amount;
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 getFile(): ?string
{
return $this->file;
}
public function setFile(?string $file): self
{
$this->file = $file;
return $this;
}
public function getAuthorization(): ?string
{
return $this->authorization;
}
public function setAuthorization(string $authorization): self
{
$this->authorization = $authorization;
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 isSaved(): ?bool
{
return $this->saved;
}
public function setSaved(bool $saved): self
{
$this->saved = $saved;
return $this;
}
}