<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\LepDiiaRequestRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaRequestRepository::class)]
#[ApiResource]
class LepDiiaRequest
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50)]
private ?string $requestId = null;
#[ORM\Column(length: 13)]
private ?string $barcode = null;
#[ORM\Column(length: 12)]
private ?string $persuid = null;
#[ORM\Column(length: 50)]
private ?string $user = null;
#[ORM\Column]
private ?int $cokId = null;
#[ORM\Column(length: 12)]
private ?string $docTime = null;
#[ORM\Column(length: 255)]
private ?string $file = null;
#[ORM\Column(length: 255)]
private ?string $userName = null;
#[ORM\Column]
private ?int $active = null;
#[ORM\Column(length: 50)]
private ?string $service = 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 getBarcode(): ?string
{
return $this->barcode;
}
public function setBarcode(string $barcode): self
{
$this->barcode = $barcode;
return $this;
}
public function getPersuid(): ?string
{
return $this->persuid;
}
public function setPersuid(string $persuid): self
{
$this->persuid = $persuid;
return $this;
}
public function getUser(): ?string
{
return $this->user;
}
public function setUser(string $user): self
{
$this->user = $user;
return $this;
}
public function getCokId(): ?int
{
return $this->cokId;
}
public function setCokId(int $cokId): self
{
$this->cokId = $cokId;
return $this;
}
public function getDocTime(): ?string
{
return $this->docTime;
}
public function setDocTime(string $docTime): self
{
$this->docTime = $docTime;
return $this;
}
public function getFile(): ?string
{
return $this->file;
}
public function setFile(string $file): self
{
$this->file = $file;
return $this;
}
public function getUserName(): ?string
{
return $this->userName;
}
public function setUserName(string $userName): self
{
$this->userName = $userName;
return $this;
}
public function getActive(): ?int
{
return $this->active;
}
public function setActive(int $active): self
{
$this->active = $active;
return $this;
}
public function getService(): ?string
{
return $this->service;
}
public function setService(string $service): self
{
$this->service = $service;
return $this;
}
}