<?phpnamespace App\Entity;use App\Repository\PerrucheRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PerrucheRepository::class)]class Perruche{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(type: Types::TEXT)] private ?string $description = null; #[ORM\Column] private ?int $affection = null; #[ORM\Column] private ?int $formation = null; #[ORM\Column] private ?int $chant = null; #[ORM\Column(length: 255, nullable:true)] private ?string $image = null; #[ORM\Column(length: 255)] private ?string $creationDate = null; #[ORM\Column(length: 255)] private ?string $modificationDate = null; #[ORM\Column] private ?int $number = null; #[ORM\Column] private ?bool $isActive = true; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getAffection(): ?int { return $this->affection; } public function setAffection(int $affection): self { $this->affection = $affection; return $this; } public function getFormation(): ?int { return $this->formation; } public function setFormation(int $formation): self { $this->formation = $formation; return $this; } public function getChant(): ?int { return $this->chant; } public function setChant(int $chant): self { $this->chant = $chant; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(string $image): self { $this->image = $image; 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 getNumber(): ?int { return $this->number; } public function setNumber(int $number): self { $this->number = $number; return $this; } public function isIsActive(): ?bool { return $this->isActive; } public function setIsActive(bool $isActive): self { $this->isActive = $isActive; return $this; }}