<?phpnamespace App\Entity;use App\Repository\CancellationRequestRepository;use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=CancellationRequestRepository::class) * @Auditable() */class CancellationRequest{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userCreate; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateCreate; /** * @ORM\Column(type="text", nullable=true) */ private $reason; /** * @ORM\Column(type="boolean") */ private $isDeleted; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $status; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $folderNumber; /** * @ORM\ManyToOne(targetEntity=Folder::class) */ private $folder; /** * @ORM\ManyToOne(targetEntity=Sites::class) */ private $site; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userRejection; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateRejection; /** * @ORM\Column(type="text", nullable=true) */ private $rejectionComment; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userCancellation; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateCancellation; public function getId(): ?int { return $this->id; } public function getUserCreate(): ?Users { return $this->userCreate; } public function setUserCreate(?Users $userCreate): self { $this->userCreate = $userCreate; return $this; } public function getDateCreate(): ?\DateTimeInterface { return $this->dateCreate; } public function setDateCreate(?\DateTimeInterface $dateCreate): self { $this->dateCreate = $dateCreate; return $this; } public function getReason(): ?string { return $this->reason; } public function setReason(?string $reason): self { $this->reason = $reason; return $this; } public function getIsDeleted(): ?bool { return $this->isDeleted; } public function setIsDeleted(bool $isDeleted): self { $this->isDeleted = $isDeleted; return $this; } public function getStatus(): ?string { return $this->status; } public function setStatus(?string $status): self { $this->status = $status; return $this; } public function getFolderNumber(): ?string { return $this->folderNumber; } public function setFolderNumber(?string $folderNumber): self { $this->folderNumber = $folderNumber; return $this; } public function getFolder(): ?Folder { return $this->folder; } public function setFolder(?Folder $folder): self { $this->folder = $folder; return $this; } public function getSite(): ?Sites { return $this->site; } public function setSite(?Sites $site): self { $this->site = $site; return $this; } public function getUserRejection(): ?Users { return $this->userRejection; } public function setUserRejection(?Users $userRejection): self { $this->userRejection = $userRejection; return $this; } public function getDateRejection(): ?\DateTimeInterface { return $this->dateRejection; } public function setDateRejection(?\DateTimeInterface $dateRejection): self { $this->dateRejection = $dateRejection; return $this; } public function getRejectionComment(): ?string { return $this->rejectionComment; } public function setRejectionComment(?string $rejectionComment): self { $this->rejectionComment = $rejectionComment; return $this; } public function getUserCancellation(): ?Users { return $this->userCancellation; } public function setUserCancellation(?Users $userCancellation): self { $this->userCancellation = $userCancellation; return $this; } public function getDateCancellation(): ?\DateTimeInterface { return $this->dateCancellation; } public function setDateCancellation(?\DateTimeInterface $dateCancellation): self { $this->dateCancellation = $dateCancellation; return $this; }}