<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'novallia_audit_base')]
#[ORM\Entity]
#[ORM\UniqueConstraint(
name: 'unique_audit_entry',
columns: ['evaluation_id', 'compliance_id', 'section_id', 'document_id', 'site_id', 'issue']
)]
class NovalliaAuditBase
{
#[ORM\Column(name: 'id', type: 'integer', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private int $id;
#[ORM\Column(name: 'evaluation_id', type: 'string', nullable: true)]
private ?string $evaluationId = null;
#[ORM\Column(name: 'compliance_id', type: 'string', nullable: true)]
private ?string $complianceId = null;
#[ORM\Column(name: 'section_id', type: 'string', nullable: true)]
private ?string $sectionId = null;
#[ORM\Column(name: 'document_id', type: 'string', nullable: true)]
private ?string $documentId = null;
#[ORM\Column(name: 'site_id', type: 'string', nullable: true)]
private ?string $siteId = null;
#[ORM\Column(name: 'issue', type: 'string', length: 255, nullable: true)]
private ?string $issue = null;
#[ORM\Column(name: 'comments', type: 'text', nullable: true)]
private ?string $comments = null;
#[ORM\Column(name: 'log', type: 'text', nullable: true)]
private ?string $log = 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(): ?string
{
return $this->complianceId;
}
public function setComplianceId(?string $complianceId): self
{
$this->complianceId = $complianceId;
return $this;
}
public function getSectionId(): ?string
{
return $this->sectionId;
}
public function setSectionId(?string $sectionId): self
{
$this->sectionId = $sectionId;
return $this;
}
public function getDocumentId(): ?string
{
return $this->documentId;
}
public function setDocumentId(?string $documentId): self
{
$this->documentId = $documentId;
return $this;
}
public function getSiteId(): ?string
{
return $this->siteId;
}
public function setSiteId(?string $siteId): self
{
$this->siteId = $siteId;
return $this;
}
public function getIssue(): ?string
{
return $this->issue;
}
public function setIssue(?string $issue): self
{
$this->issue = $issue;
return $this;
}
public function getComments(): ?string
{
return $this->comments;
}
public function setComments(?string $comments): self
{
$this->comments = $comments;
return $this;
}
public function getLog(): ?string
{
return $this->log;
}
public function setLog(?string $log): self
{
$this->log = $log;
return $this;
}
}