<?phpnamespace App\Entity;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use App\Repository\SeanceRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SeanceRepository::class)]class Seance{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $label = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $creationDate = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $modificationDate = null; #[ORM\Column] private ?bool $isActive = null; #[ORM\ManyToOne(inversedBy: 'seances')] #[ORM\JoinColumn(nullable: false)] private ?CategorySeance $category = null; #[ORM\Column(length: 255, nullable: true)] private ?string $image = null; #[ORM\Column(length: 255)] private ?string $slug = null; #[ORM\Column(length: 255)] private ?string $duree = '1h'; #[ORM\Column(nullable: true)] private ?int $prix = null; #[ORM\Column(nullable: true)] private ?int $nombre_photo_couleur = null; #[ORM\Column(nullable: true)] private ?int $nombre_photo_nb = null; #[ORM\Column(nullable: true)] private ?int $nombre_tirage = null; public function getId(): ?int { return $this->id; } public function getLabel(): ?string { return $this->label; } public function setLabel(string $label): self { $this->label = $label; return $this; } public function getCreationDate(): ?\DateTimeInterface { return $this->creationDate; } public function setCreationDate(\DateTimeInterface $creationDate): self { $this->creationDate = $creationDate; return $this; } public function getModificationDate(): ?\DateTimeInterface { return $this->modificationDate; } public function setModificationDate(\DateTimeInterface $modificationDate): self { $this->modificationDate = $modificationDate; return $this; } public function isIsActive(): ?bool { return $this->isActive; } public function setIsActive(bool $isActive): self { $this->isActive = $isActive; return $this; } public function getCategory(): ?CategorySeance { return $this->category; } public function setCategory(?CategorySeance $category): self { $this->category = $category; return $this; } public function __toString() { return $this->category; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { $this->image = $image; return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(string $slug): self { $this->slug = $slug; return $this; } public function getDuree(): ?string { return $this->duree; } public function setDuree(string $duree): self { $this->duree = $duree; return $this; } public function getPrix(): ?int { return $this->prix; } public function setPrix(?int $prix): self { $this->prix = $prix; return $this; } public function getNombrePhotoCouleur(): ?int { return $this->nombre_photo_couleur; } public function setNombrePhotoCouleur(?int $nombre_photo_couleur): self { $this->nombre_photo_couleur = $nombre_photo_couleur; return $this; } public function getNombrePhotoNb(): ?int { return $this->nombre_photo_nb; } public function setNombrePhotoNb(int $nombre_photo_nb): self { $this->nombre_photo_nb = $nombre_photo_nb; return $this; } public function getNombreTirage(): ?int { return $this->nombre_tirage; } public function setNombreTirage(?int $nombre_tirage): self { $this->nombre_tirage = $nombre_tirage; return $this; }}