src/Entity/LepDiiaDocument.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\LepDiiaDocumentRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassLepDiiaDocumentRepository::class)]
  8. #[ApiResource]
  9. class LepDiiaDocument
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length50)]
  16.     private ?string $requestId null;
  17.     #[ORM\Column(length10)]
  18.     private ?string $ipn null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $adress null;
  21.     #[ORM\Column(length10)]
  22.     private ?string $docNumber null;
  23.     #[ORM\Column(length2)]
  24.     private ?string $gender null;
  25.     #[ORM\Column(length20)]
  26.     private ?string $nationality null;
  27.     #[ORM\Column(length50)]
  28.     private ?string $lastName null;
  29.     #[ORM\Column(length50)]
  30.     private ?string $firstName null;
  31.     #[ORM\Column(length50)]
  32.     private ?string $middleName null;
  33.     #[ORM\Column(length12)]
  34.     private ?string $birthday null;
  35.     #[ORM\Column(length50)]
  36.     private ?string $birthPlace null;
  37.     #[ORM\Column(length12)]
  38.     private ?string $issueDate null;
  39.     #[ORM\Column(length12)]
  40.     private ?string $expirationDate null;
  41.     #[ORM\Column(length50)]
  42.     private ?string $recordNumber null;
  43.     #[ORM\Column(length10)]
  44.     private ?string $department null;
  45.     #[ORM\Column(length2)]
  46.     private ?string $genderEn null;
  47.     #[ORM\Column(length50)]
  48.     private ?string $lastNameEn null;
  49.     #[ORM\Column(length50)]
  50.     private ?string $firstNameEn null;
  51.     #[ORM\Column(length255)]
  52.     private ?string $fileName null;
  53.     #[ORM\Column(typeTypes::TEXT)]
  54.     private ?string $file null;
  55.     public function getId(): ?int
  56.     {
  57.         return $this->id;
  58.     }
  59.     public function getRequestId(): ?string
  60.     {
  61.         return $this->requestId;
  62.     }
  63.     public function setRequestId(string $requestId): self
  64.     {
  65.         $this->requestId $requestId;
  66.         return $this;
  67.     }
  68.     public function getIpn(): ?string
  69.     {
  70.         return $this->ipn;
  71.     }
  72.     public function setIpn(string $ipn): self
  73.     {
  74.         $this->ipn $ipn;
  75.         return $this;
  76.     }
  77.     public function getAdress(): ?string
  78.     {
  79.         return $this->adress;
  80.     }
  81.     public function setAdress(string $adress): self
  82.     {
  83.         $this->adress $adress;
  84.         return $this;
  85.     }
  86.     public function getDocNumber(): ?string
  87.     {
  88.         return $this->docNumber;
  89.     }
  90.     public function setDocNumber(string $docNumber): self
  91.     {
  92.         $this->docNumber $docNumber;
  93.         return $this;
  94.     }
  95.     public function getGender(): ?string
  96.     {
  97.         return $this->gender;
  98.     }
  99.     public function setGender(string $gender): self
  100.     {
  101.         $this->gender $gender;
  102.         return $this;
  103.     }
  104.     public function getNationality(): ?string
  105.     {
  106.         return $this->nationality;
  107.     }
  108.     public function setNationality(string $nationality): self
  109.     {
  110.         $this->nationality $nationality;
  111.         return $this;
  112.     }
  113.     public function getLastName(): ?string
  114.     {
  115.         return $this->lastName;
  116.     }
  117.     public function setLastName(string $lastName): self
  118.     {
  119.         $this->lastName $lastName;
  120.         return $this;
  121.     }
  122.     public function getFirstName(): ?string
  123.     {
  124.         return $this->firstName;
  125.     }
  126.     public function setFirstName(string $firstName): self
  127.     {
  128.         $this->firstName $firstName;
  129.         return $this;
  130.     }
  131.     public function getMiddleName(): ?string
  132.     {
  133.         return $this->middleName;
  134.     }
  135.     public function setMiddleName(string $middleName): self
  136.     {
  137.         $this->middleName $middleName;
  138.         return $this;
  139.     }
  140.     public function getBirthday(): ?string
  141.     {
  142.         return $this->birthday;
  143.     }
  144.     public function setBirthday(string $birthday): self
  145.     {
  146.         $this->birthday $birthday;
  147.         return $this;
  148.     }
  149.     public function getBirthPlace(): ?string
  150.     {
  151.         return $this->birthPlace;
  152.     }
  153.     public function setBirthPlace(string $birthPlace): self
  154.     {
  155.         $this->birthPlace $birthPlace;
  156.         return $this;
  157.     }
  158.     public function getIssueDate(): ?string
  159.     {
  160.         return $this->issueDate;
  161.     }
  162.     public function setIssueDate(string $issueDate): self
  163.     {
  164.         $this->issueDate $issueDate;
  165.         return $this;
  166.     }
  167.     public function getExpirationDate(): ?string
  168.     {
  169.         return $this->expirationDate;
  170.     }
  171.     public function setExpirationDate(string $expirationDate): self
  172.     {
  173.         $this->expirationDate $expirationDate;
  174.         return $this;
  175.     }
  176.     public function getRecordNumber(): ?string
  177.     {
  178.         return $this->recordNumber;
  179.     }
  180.     public function setRecordNumber(string $recordNumber): self
  181.     {
  182.         $this->recordNumber $recordNumber;
  183.         return $this;
  184.     }
  185.     public function getDepartment(): ?string
  186.     {
  187.         return $this->department;
  188.     }
  189.     public function setDepartment(string $department): self
  190.     {
  191.         $this->department $department;
  192.         return $this;
  193.     }
  194.     public function getGenderEn(): ?string
  195.     {
  196.         return $this->genderEn;
  197.     }
  198.     public function setGenderEn(string $genderEn): self
  199.     {
  200.         $this->genderEn $genderEn;
  201.         return $this;
  202.     }
  203.     public function getLastNameEn(): ?string
  204.     {
  205.         return $this->lastNameEn;
  206.     }
  207.     public function setLastNameEn(string $lastNameEn): self
  208.     {
  209.         $this->lastNameEn $lastNameEn;
  210.         return $this;
  211.     }
  212.     public function getFirstNameEn(): ?string
  213.     {
  214.         return $this->firstNameEn;
  215.     }
  216.     public function setFirstNameEn(string $firstNameEn): self
  217.     {
  218.         $this->firstNameEn $firstNameEn;
  219.         return $this;
  220.     }
  221.     public function getFileName(): ?string
  222.     {
  223.         return $this->fileName;
  224.     }
  225.     public function setFileName(string $fileName): self
  226.     {
  227.         $this->fileName $fileName;
  228.         return $this;
  229.     }
  230.     public function getFile(): ?string
  231.     {
  232.         return $this->file;
  233.     }
  234.     public function setFile(string $file): self
  235.     {
  236.         $this->file $file;
  237.         return $this;
  238.     }
  239. }