src/Entity/MoisSemaine.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MoisSemaineRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassMoisSemaineRepository::class)]
  7. class MoisSemaine
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $mois null;
  15.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  16.     private ?string $semaines null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $annee null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $numero_php null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getMois(): ?string
  26.     {
  27.         return $this->mois;
  28.     }
  29.     public function setMois(?string $mois): static
  30.     {
  31.         $this->mois $mois;
  32.         return $this;
  33.     }
  34.     public function getSemaines(): ?string
  35.     {
  36.         return $this->semaines;
  37.     }
  38.     public function setSemaines(?string $semaines): static
  39.     {
  40.         $this->semaines $semaines;
  41.         return $this;
  42.     }
  43.     public function getAnnee(): ?string
  44.     {
  45.         return $this->annee;
  46.     }
  47.     public function setAnnee(?string $annee): static
  48.     {
  49.         $this->annee $annee;
  50.         return $this;
  51.     }
  52.     public function getNumeroPhp(): ?int
  53.     {
  54.         return $this->numero_php;
  55.     }
  56.     public function setNumeroPhp(?int $numero_php): static
  57.     {
  58.         $this->numero_php $numero_php;
  59.         return $this;
  60.     }
  61. }