<?phpnamespace App\Entity;use App\Repository\PrestationEntrepriseRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PrestationEntrepriseRepository::class)]class PrestationEntreprise{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $categName = null; #[ORM\Column(length: 1024)] private ?string $description = null; #[ORM\Column(length: 255, nullable: true)] private ?string $image = null; #[ORM\Column(length: 255)] private ?string $slug = null; #[ORM\Column(nullable: true)] private ?bool $isActive = null; #[ORM\Column(length: 255, nullable: true)] private ?string $creationDate = null; #[ORM\Column(length: 255, nullable: true)] private ?string $modificationDate = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $presentation = null; #[ORM\Column(length: 255, nullable: true)] private ?string $subtitle = null; #[ORM\Column(type: Types::SIMPLE_ARRAY, nullable: true)] private array $galleryImages = []; #[ORM\Column] private ?bool $isWeb = null; public function getId(): ?int { return $this->id; } public function getCategName(): ?string { return $this->categName; } public function setCategName(string $categName): self { $this->categName = $categName; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { if ($image !== null) { $this->image = $image; } else { $this->image = NULL; } return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(string $slug): self { $this->slug = $slug; return $this; } public function isIsActive(): ?bool { return $this->isActive; } public function setIsActive(?bool $isActive): self { $this->isActive = $isActive; return $this; } public function getCreationDate(): ?string { return $this->creationDate; } public function setCreationDate(?string $creationDate): self { $this->creationDate = $creationDate; return $this; } public function getModificationDate(): ?string { return $this->modificationDate; } public function setModificationDate(?string $modificationDate): self { $this->modificationDate = $modificationDate; return $this; } public function getPresentation(): ?string { return $this->presentation; } public function setPresentation(?string $presentation): self { $this->presentation = $presentation; return $this; } public function getSubtitle(): ?string { return $this->subtitle; } public function setSubtitle(?string $subtitle): self { $this->subtitle = $subtitle; return $this; } public function getGalleryImages(): array { return $this->galleryImages; } public function setGalleryImages(?array $galleryImages): self { if ($galleryImages == null) { $this->galleryImages = []; } else { $this->galleryImages = $galleryImages; } return $this; } public function isIsWeb(): ?bool { return $this->isWeb; } public function setIsWeb(bool $isWeb): self { $this->isWeb = $isWeb; return $this; }}