src/Entity/Membre.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MembreRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassMembreRepository::class)]
  7. class Membre
  8. {
  9.     public const UNITE_REGIONAL 'Unité régionale NABEUL';
  10.     public const REGIONAL 'régionale';
  11.     public const CENTRALE 'Central';
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column(type'integer')]
  15.     private $id;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $nomprenom;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $photo;
  20.     #[ORM\Column(type'string'length255)]
  21.     private $diplome;
  22.     #[ORM\Column(type'string'length255)]
  23.     private $poste;
  24.     #[ORM\Column(type'string'length255)]
  25.     private $tache_attribuees;
  26.     #[ORM\Column(type'date')]
  27.     private $date_tache;
  28.     #[ORM\Column(type'string'length255)]
  29.     private $regional;
  30.     #[ORM\Column(type'string'length255)]
  31.     private $cv;
  32.     #[ORM\Column(type'integer')]
  33.     private $experience;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getNomprenom(): ?string
  39.     {
  40.         return $this->nomprenom;
  41.     }
  42.     public function setNomprenom(string $nomprenom): self
  43.     {
  44.         $this->nomprenom $nomprenom;
  45.         return $this;
  46.     }
  47.     public function getPhoto(): ?string
  48.     {
  49.         return $this->photo;
  50.     }
  51.     public function setPhoto(string $photo): self
  52.     {
  53.         $this->photo $photo;
  54.         return $this;
  55.     }
  56.     public function getDiplome(): ?string
  57.     {
  58.         return $this->diplome;
  59.     }
  60.     public function setDiplome(string $diplome): self
  61.     {
  62.         $this->diplome $diplome;
  63.         return $this;
  64.     }
  65.     public function getPoste(): ?string
  66.     {
  67.         return $this->poste;
  68.     }
  69.     public function setPoste(string $poste): self
  70.     {
  71.         $this->poste $poste;
  72.         return $this;
  73.     }
  74.     public function getTacheAttribuees(): ?string
  75.     {
  76.         return $this->tache_attribuees;
  77.     }
  78.     public function setTacheAttribuees(string $tache_attribuees): self
  79.     {
  80.         $this->tache_attribuees $tache_attribuees;
  81.         return $this;
  82.     }
  83.     public function getDateTache(): ?\DateTimeInterface
  84.     {
  85.         return $this->date_tache;
  86.     }
  87.     public function setDateTache(\DateTimeInterface $date_tache): self
  88.     {
  89.         $this->date_tache $date_tache;
  90.         return $this;
  91.     }
  92.     public function getRegional(): ?string
  93.     {
  94.         return $this->regional;
  95.     }
  96.     public function setRegional(string $regional): self
  97.     {
  98.         $this->regional $regional;
  99.         return $this;
  100.     }
  101.     public function getCv(): ?string
  102.     {
  103.         return $this->cv;
  104.     }
  105.     public function setCv(string $cv): self
  106.     {
  107.         $this->cv $cv;
  108.         return $this;
  109.     }
  110.     public function getExperience(): ?int
  111.     {
  112.         return $this->experience;
  113.     }
  114.     public function setExperience(int $experience): self
  115.     {
  116.         $this->experience $experience;
  117.         return $this;
  118.     }
  119. }