src/Entity/LepDiiaRequest.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\LepDiiaRequestRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassLepDiiaRequestRepository::class)]
  7. #[ApiResource]
  8. class LepDiiaRequest
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length50)]
  15.     private ?string $requestId null;
  16.     #[ORM\Column(length13)]
  17.     private ?string $barcode null;
  18.     #[ORM\Column(length12)]
  19.     private ?string $persuid null;
  20.     #[ORM\Column(length50)]
  21.     private ?string $user null;
  22.     #[ORM\Column]
  23.     private ?int $cokId null;
  24.     #[ORM\Column(length12)]
  25.     private ?string $docTime null;
  26.     #[ORM\Column(length255)]
  27.     private ?string $file null;
  28.     #[ORM\Column(length255)]
  29.     private ?string $userName null;
  30.     #[ORM\Column]
  31.     private ?int $active null;
  32.     #[ORM\Column(length50)]
  33.     private ?string $service null;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getRequestId(): ?string
  39.     {
  40.         return $this->requestId;
  41.     }
  42.     public function setRequestId(string $requestId): self
  43.     {
  44.         $this->requestId $requestId;
  45.         return $this;
  46.     }
  47.     public function getBarcode(): ?string
  48.     {
  49.         return $this->barcode;
  50.     }
  51.     public function setBarcode(string $barcode): self
  52.     {
  53.         $this->barcode $barcode;
  54.         return $this;
  55.     }
  56.     public function getPersuid(): ?string
  57.     {
  58.         return $this->persuid;
  59.     }
  60.     public function setPersuid(string $persuid): self
  61.     {
  62.         $this->persuid $persuid;
  63.         return $this;
  64.     }
  65.     public function getUser(): ?string
  66.     {
  67.         return $this->user;
  68.     }
  69.     public function setUser(string $user): self
  70.     {
  71.         $this->user $user;
  72.         return $this;
  73.     }
  74.     public function getCokId(): ?int
  75.     {
  76.         return $this->cokId;
  77.     }
  78.     public function setCokId(int $cokId): self
  79.     {
  80.         $this->cokId $cokId;
  81.         return $this;
  82.     }
  83.     public function getDocTime(): ?string
  84.     {
  85.         return $this->docTime;
  86.     }
  87.     public function setDocTime(string $docTime): self
  88.     {
  89.         $this->docTime $docTime;
  90.         return $this;
  91.     }
  92.     public function getFile(): ?string
  93.     {
  94.         return $this->file;
  95.     }
  96.     public function setFile(string $file): self
  97.     {
  98.         $this->file $file;
  99.         return $this;
  100.     }
  101.     public function getUserName(): ?string
  102.     {
  103.         return $this->userName;
  104.     }
  105.     public function setUserName(string $userName): self
  106.     {
  107.         $this->userName $userName;
  108.         return $this;
  109.     }
  110.     public function getActive(): ?int
  111.     {
  112.         return $this->active;
  113.     }
  114.     public function setActive(int $active): self
  115.     {
  116.         $this->active $active;
  117.         return $this;
  118.     }
  119.     public function getService(): ?string
  120.     {
  121.         return $this->service;
  122.     }
  123.     public function setService(string $service): self
  124.     {
  125.         $this->service $service;
  126.         return $this;
  127.     }
  128. }