<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\EvaluationHistoryRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EvaluationHistoryRepository::class)]
class EvaluationHistory
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::BIGINT, nullable: true)]
private ?string $evaluationId = null;
#[ORM\Column(nullable: true)]
private ?int $complianceId = null;
#[ORM\Column(nullable: true)]
private ?int $siteId = null;
#[ORM\Column(nullable: true)]
private ?int $userId = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $annotationNvs = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $annotation = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $comment = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $evaluationDate = null;
#[ORM\Column(nullable: true)]
private ?int $sectionId = null;
#[ORM\Column(nullable: true)]
private ?int $documentId = null;
#[ORM\Column(nullable: true)]
private ?int $statusId = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $updatedAt = null;
public function getId(): ?int
{
return $this->id;
}
public function getEvaluationId(): ?string
{
return $this->evaluationId;
}
public function setEvaluationId(?string $evaluationId): self
{
$this->evaluationId = $evaluationId;
return $this;
}
public function getComplianceId(): ?int
{
return $this->complianceId;
}
public function setComplianceId(?int $complianceId): self
{
$this->complianceId = $complianceId;
return $this;
}
public function getSiteId(): ?int
{
return $this->siteId;
}
public function setSiteId(?int $siteId): self
{
$this->siteId = $siteId;
return $this;
}
public function getUserId(): ?int
{
return $this->userId;
}
public function setUserId(?int $userId): self
{
$this->userId = $userId;
return $this;
}
public function getAnnotationNvs(): ?string
{
return $this->annotationNvs;
}
public function setAnnotationNvs(?string $annotationNvs): self
{
$this->annotationNvs = $annotationNvs;
return $this;
}
public function getAnnotation(): ?string
{
return $this->annotation;
}
public function setAnnotation(?string $annotation): self
{
$this->annotation = $annotation;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): self
{
$this->comment = $comment;
return $this;
}
public function getEvaluationDate(): ?\DateTimeInterface
{
return $this->evaluationDate;
}
public function setEvaluationDate(?\DateTimeInterface $evaluationDate): self
{
$this->evaluationDate = $evaluationDate;
return $this;
}
public function getSectionId(): ?int
{
return $this->sectionId;
}
public function setSectionId(?int $sectionId): self
{
$this->sectionId = $sectionId;
return $this;
}
public function getDocumentId(): ?int
{
return $this->documentId;
}
public function setDocumentId(?int $documentId): self
{
$this->documentId = $documentId;
return $this;
}
public function getStatusId(): ?int
{
return $this->statusId;
}
public function setStatusId(?int $statusId): self
{
$this->statusId = $statusId;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
}