<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\LepDiiaSignatureRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LepDiiaSignatureRepository::class)]
#[ApiResource]
class LepDiiaSignature
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50)]
private ?string $request_id = null;
#[ORM\Column(length: 50)]
private ?string $service_name = null;
#[ORM\Column(length: 2000)]
private ?string $file_name = null;
#[ORM\Column(length: 2000)]
private ?string $hash = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $hash_sign = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $hash_sign_info = null;
#[ORM\Column(length: 25)]
private ?string $send_mail = null;
public function getId(): ?int
{
return $this->id;
}
public function getRequestId(): ?string
{
return $this->request_id;
}
public function setRequestId(string $request_id): self
{
$this->request_id = $request_id;
return $this;
}
public function getServiceName(): ?string
{
return $this->service_name;
}
public function setServiceName(string $service_name): self
{
$this->service_name = $service_name;
return $this;
}
public function getFileName(): ?string
{
return $this->file_name;
}
public function setFileName(string $file_name): self
{
$this->file_name = $file_name;
return $this;
}
public function getHash(): ?string
{
return $this->hash;
}
public function setHash(string $hash): self
{
$this->hash = $hash;
return $this;
}
public function getHashSign(): ?string
{
return $this->hash_sign;
}
public function setHashSign(string $hash_sign): self
{
$this->hash_sign = $hash_sign;
return $this;
}
public function getHashSignInfo(): ?string
{
return $this->hash_sign_info;
}
public function setHashSignInfo(string $hash_sign_info): self
{
$this->hash_sign_info = $hash_sign_info;
return $this;
}
public function getSendMail(): ?string
{
return $this->send_mail;
}
public function setSendMail(string $send_mail): self
{
$this->send_mail = $send_mail;
return $this;
}
}