<?phpnamespace App\Entity;use App\Repository\DocDemandeClientRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: DocDemandeClientRepository::class)]class DocDemandeClient{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $title = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $description = null; #[ORM\Column(nullable: true)] private ?bool $interne = null; #[ORM\Column(nullable: true)] private ?bool $externe = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $createdAt = null; #[ORM\Column(nullable: true)] private ?int $createdBy = null; #[ORM\Column(length: 255, nullable: true)] private ?string $fileName = null; #[ORM\Column(length: 255, nullable: true)] private ?string $originalFileName = null; #[ORM\Column(nullable: true)] private ?bool $deleted = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $deletedAt = null; #[ORM\Column(nullable: true)] private ?int $deletedBy = null; #[ORM\Column(length: 255, nullable: true)] private ?string $type = null; #[ORM\Column(nullable: true)] private ?int $etat = null; #[ORM\ManyToOne(inversedBy: 'docDemandeClient')] private ?DemandeService $demandeService = null; public function __construct() { $this->docDemandeClient = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function isInterne(): ?bool { return $this->interne; } public function setInterne(?bool $interne): self { $this->interne = $interne; return $this; } public function isExterne(): ?bool { return $this->externe; } public function setExterne(?bool $externe): self { $this->externe = $externe; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getCreatedBy(): ?int { return $this->createdBy; } public function setCreatedBy(?int $createdBy): self { $this->createdBy = $createdBy; return $this; } public function getFileName(): ?string { return $this->fileName; } public function setFileName(?string $fileName): self { $this->fileName = $fileName; return $this; } public function getOriginalFileName(): ?string { return $this->originalFileName; } public function setOriginalFileName(?string $originalFileName): self { $this->originalFileName = $originalFileName; return $this; } public function isDeleted(): ?bool { return $this->deleted; } public function setDeleted(?bool $deleted): self { $this->deleted = $deleted; return $this; } public function getDeletedAt(): ?\DateTimeInterface { return $this->deletedAt; } public function setDeletedAt(?\DateTimeInterface $deletedAt): self { $this->deletedAt = $deletedAt; return $this; } public function getDeletedBy(): ?int { return $this->deletedBy; } public function setDeletedBy(?int $deletedBy): self { $this->deletedBy = $deletedBy; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; } public function getEtat(): ?int { return $this->etat; } public function setEtat(?int $etat): self { $this->etat = $etat; return $this; } public function getDemandeService(): ?DemandeService { return $this->demandeService; } public function setDemandeService(?DemandeService $demandeService): self { $this->demandeService = $demandeService; return $this; }}