src/Entity/NovalliaAuditBase.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Table(name'novallia_audit_base')]
  5. #[ORM\Entity]
  6. #[ORM\UniqueConstraint(
  7.     name'unique_audit_entry',
  8.     columns: ['evaluation_id''compliance_id''section_id''document_id''site_id''issue']
  9. )]
  10. class NovalliaAuditBase
  11. {
  12.     #[ORM\Column(name'id'type'integer'nullablefalse)]
  13.     #[ORM\Id]
  14.     #[ORM\GeneratedValue(strategy'IDENTITY')]
  15.     private int $id;
  16.     #[ORM\Column(name'evaluation_id'type'string'nullabletrue)]
  17.     private ?string $evaluationId null;
  18.     #[ORM\Column(name'compliance_id'type'string'nullabletrue)]
  19.     private ?string $complianceId null;
  20.     #[ORM\Column(name'section_id'type'string'nullabletrue)]
  21.     private ?string $sectionId null;
  22.     #[ORM\Column(name'document_id'type'string'nullabletrue)]
  23.     private ?string $documentId null;
  24.     #[ORM\Column(name'site_id'type'string'nullabletrue)]
  25.     private ?string $siteId null;
  26.     #[ORM\Column(name'issue'type'string'length255nullabletrue)]
  27.     private ?string $issue null;
  28.     #[ORM\Column(name'comments'type'text'nullabletrue)]
  29.     private ?string $comments null;
  30.     #[ORM\Column(name'log'type'text'nullabletrue)]
  31.     private ?string $log null;
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getEvaluationId(): ?string
  37.     {
  38.         return $this->evaluationId;
  39.     }
  40.     public function setEvaluationId(?string $evaluationId): self
  41.     {
  42.         $this->evaluationId $evaluationId;
  43.         return $this;
  44.     }
  45.     public function getComplianceId(): ?string
  46.     {
  47.         return $this->complianceId;
  48.     }
  49.     public function setComplianceId(?string $complianceId): self
  50.     {
  51.         $this->complianceId $complianceId;
  52.         return $this;
  53.     }
  54.     public function getSectionId(): ?string
  55.     {
  56.         return $this->sectionId;
  57.     }
  58.     public function setSectionId(?string $sectionId): self
  59.     {
  60.         $this->sectionId $sectionId;
  61.         return $this;
  62.     }
  63.     public function getDocumentId(): ?string
  64.     {
  65.         return $this->documentId;
  66.     }
  67.     public function setDocumentId(?string $documentId): self
  68.     {
  69.         $this->documentId $documentId;
  70.         return $this;
  71.     }
  72.     public function getSiteId(): ?string
  73.     {
  74.         return $this->siteId;
  75.     }
  76.     public function setSiteId(?string $siteId): self
  77.     {
  78.         $this->siteId $siteId;
  79.         return $this;
  80.     }
  81.     public function getIssue(): ?string
  82.     {
  83.         return $this->issue;
  84.     }
  85.     public function setIssue(?string $issue): self
  86.     {
  87.         $this->issue $issue;
  88.         return $this;
  89.     }
  90.     public function getComments(): ?string
  91.     {
  92.         return $this->comments;
  93.     }
  94.     public function setComments(?string $comments): self
  95.     {
  96.         $this->comments $comments;
  97.         return $this;
  98.     }
  99.     public function getLog(): ?string
  100.     {
  101.         return $this->log;
  102.     }
  103.     public function setLog(?string $log): self
  104.     {
  105.         $this->log $log;
  106.         return $this;
  107.     }
  108. }