<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\LepDiiaDocumentRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaDocumentRepository::class)]
#[ApiResource]
class LepDiiaDocument
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50)]
private ?string $requestId = null;
#[ORM\Column(length: 10)]
private ?string $ipn = null;
#[ORM\Column(length: 255)]
private ?string $adress = null;
#[ORM\Column(length: 10)]
private ?string $docNumber = null;
#[ORM\Column(length: 2)]
private ?string $gender = null;
#[ORM\Column(length: 20)]
private ?string $nationality = null;
#[ORM\Column(length: 50)]
private ?string $lastName = null;
#[ORM\Column(length: 50)]
private ?string $firstName = null;
#[ORM\Column(length: 50)]
private ?string $middleName = null;
#[ORM\Column(length: 12)]
private ?string $birthday = null;
#[ORM\Column(length: 50)]
private ?string $birthPlace = null;
#[ORM\Column(length: 12)]
private ?string $issueDate = null;
#[ORM\Column(length: 12)]
private ?string $expirationDate = null;
#[ORM\Column(length: 50)]
private ?string $recordNumber = null;
#[ORM\Column(length: 10)]
private ?string $department = null;
#[ORM\Column(length: 2)]
private ?string $genderEn = null;
#[ORM\Column(length: 50)]
private ?string $lastNameEn = null;
#[ORM\Column(length: 50)]
private ?string $firstNameEn = null;
#[ORM\Column(length: 255)]
private ?string $fileName = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $file = null;
public function getId(): ?int
{
return $this->id;
}
public function getRequestId(): ?string
{
return $this->requestId;
}
public function setRequestId(string $requestId): self
{
$this->requestId = $requestId;
return $this;
}
public function getIpn(): ?string
{
return $this->ipn;
}
public function setIpn(string $ipn): self
{
$this->ipn = $ipn;
return $this;
}
public function getAdress(): ?string
{
return $this->adress;
}
public function setAdress(string $adress): self
{
$this->adress = $adress;
return $this;
}
public function getDocNumber(): ?string
{
return $this->docNumber;
}
public function setDocNumber(string $docNumber): self
{
$this->docNumber = $docNumber;
return $this;
}
public function getGender(): ?string
{
return $this->gender;
}
public function setGender(string $gender): self
{
$this->gender = $gender;
return $this;
}
public function getNationality(): ?string
{
return $this->nationality;
}
public function setNationality(string $nationality): self
{
$this->nationality = $nationality;
return $this;
}
public function getLastName(): ?string
{
return $this->lastName;
}
public function setLastName(string $lastName): self
{
$this->lastName = $lastName;
return $this;
}
public function getFirstName(): ?string
{
return $this->firstName;
}
public function setFirstName(string $firstName): self
{
$this->firstName = $firstName;
return $this;
}
public function getMiddleName(): ?string
{
return $this->middleName;
}
public function setMiddleName(string $middleName): self
{
$this->middleName = $middleName;
return $this;
}
public function getBirthday(): ?string
{
return $this->birthday;
}
public function setBirthday(string $birthday): self
{
$this->birthday = $birthday;
return $this;
}
public function getBirthPlace(): ?string
{
return $this->birthPlace;
}
public function setBirthPlace(string $birthPlace): self
{
$this->birthPlace = $birthPlace;
return $this;
}
public function getIssueDate(): ?string
{
return $this->issueDate;
}
public function setIssueDate(string $issueDate): self
{
$this->issueDate = $issueDate;
return $this;
}
public function getExpirationDate(): ?string
{
return $this->expirationDate;
}
public function setExpirationDate(string $expirationDate): self
{
$this->expirationDate = $expirationDate;
return $this;
}
public function getRecordNumber(): ?string
{
return $this->recordNumber;
}
public function setRecordNumber(string $recordNumber): self
{
$this->recordNumber = $recordNumber;
return $this;
}
public function getDepartment(): ?string
{
return $this->department;
}
public function setDepartment(string $department): self
{
$this->department = $department;
return $this;
}
public function getGenderEn(): ?string
{
return $this->genderEn;
}
public function setGenderEn(string $genderEn): self
{
$this->genderEn = $genderEn;
return $this;
}
public function getLastNameEn(): ?string
{
return $this->lastNameEn;
}
public function setLastNameEn(string $lastNameEn): self
{
$this->lastNameEn = $lastNameEn;
return $this;
}
public function getFirstNameEn(): ?string
{
return $this->firstNameEn;
}
public function setFirstNameEn(string $firstNameEn): self
{
$this->firstNameEn = $firstNameEn;
return $this;
}
public function getFileName(): ?string
{
return $this->fileName;
}
public function setFileName(string $fileName): self
{
$this->fileName = $fileName;
return $this;
}
public function getFile(): ?string
{
return $this->file;
}
public function setFile(string $file): self
{
$this->file = $file;
return $this;
}
}