src/Entity/EvaluationHistory.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\EvaluationHistoryRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassEvaluationHistoryRepository::class)]
  8. class EvaluationHistory
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(typeTypes::BIGINTnullabletrue)]
  15.     private ?string $evaluationId null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?int $complianceId null;
  18.     #[ORM\Column(nullabletrue)]
  19.     private ?int $siteId null;
  20.     #[ORM\Column(nullabletrue)]
  21.     private ?int $userId null;
  22.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  23.     private ?string $annotationNvs null;
  24.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  25.     private ?string $annotation null;
  26.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  27.     private ?string $comment null;
  28.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  29.     private ?\DateTimeInterface $evaluationDate null;
  30.     #[ORM\Column(nullabletrue)]
  31.     private ?int $sectionId null;
  32.     #[ORM\Column(nullabletrue)]
  33.     private ?int $documentId null;
  34.     #[ORM\Column(nullabletrue)]
  35.     private ?int $statusId null;
  36.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  37.     private ?\DateTimeInterface $updatedAt null;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getEvaluationId(): ?string
  43.     {
  44.         return $this->evaluationId;
  45.     }
  46.     public function setEvaluationId(?string $evaluationId): self
  47.     {
  48.         $this->evaluationId $evaluationId;
  49.         return $this;
  50.     }
  51.     public function getComplianceId(): ?int
  52.     {
  53.         return $this->complianceId;
  54.     }
  55.     public function setComplianceId(?int $complianceId): self
  56.     {
  57.         $this->complianceId $complianceId;
  58.         return $this;
  59.     }
  60.     public function getSiteId(): ?int
  61.     {
  62.         return $this->siteId;
  63.     }
  64.     public function setSiteId(?int $siteId): self
  65.     {
  66.         $this->siteId $siteId;
  67.         return $this;
  68.     }
  69.     public function getUserId(): ?int
  70.     {
  71.         return $this->userId;
  72.     }
  73.     public function setUserId(?int $userId): self
  74.     {
  75.         $this->userId $userId;
  76.         return $this;
  77.     }
  78.     public function getAnnotationNvs(): ?string
  79.     {
  80.         return $this->annotationNvs;
  81.     }
  82.     public function setAnnotationNvs(?string $annotationNvs): self
  83.     {
  84.         $this->annotationNvs $annotationNvs;
  85.         return $this;
  86.     }
  87.     public function getAnnotation(): ?string
  88.     {
  89.         return $this->annotation;
  90.     }
  91.     public function setAnnotation(?string $annotation): self
  92.     {
  93.         $this->annotation $annotation;
  94.         return $this;
  95.     }
  96.     public function getComment(): ?string
  97.     {
  98.         return $this->comment;
  99.     }
  100.     public function setComment(?string $comment): self
  101.     {
  102.         $this->comment $comment;
  103.         return $this;
  104.     }
  105.     public function getEvaluationDate(): ?\DateTimeInterface
  106.     {
  107.         return $this->evaluationDate;
  108.     }
  109.     public function setEvaluationDate(?\DateTimeInterface $evaluationDate): self
  110.     {
  111.         $this->evaluationDate $evaluationDate;
  112.         return $this;
  113.     }
  114.     public function getSectionId(): ?int
  115.     {
  116.         return $this->sectionId;
  117.     }
  118.     public function setSectionId(?int $sectionId): self
  119.     {
  120.         $this->sectionId $sectionId;
  121.         return $this;
  122.     }
  123.     public function getDocumentId(): ?int
  124.     {
  125.         return $this->documentId;
  126.     }
  127.     public function setDocumentId(?int $documentId): self
  128.     {
  129.         $this->documentId $documentId;
  130.         return $this;
  131.     }
  132.     public function getStatusId(): ?int
  133.     {
  134.         return $this->statusId;
  135.     }
  136.     public function setStatusId(?int $statusId): self
  137.     {
  138.         $this->statusId $statusId;
  139.         return $this;
  140.     }
  141.     public function getUpdatedAt(): ?\DateTimeInterface
  142.     {
  143.         return $this->updatedAt;
  144.     }
  145.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  146.     {
  147.         $this->updatedAt $updatedAt;
  148.         return $this;
  149.     }
  150. }