src/Entity/Speaker.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SpeakerRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSpeakerRepository::class)]
  7. class Speaker
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $nom null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $prenom null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $photo null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $grade null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $affiliation null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $biographie null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $lien null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $libelletalk null;
  29.     
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getNom(): ?string
  35.     {
  36.         return $this->nom;
  37.     }
  38.     public function setNom(?string $nom): static
  39.     {
  40.         $this->nom $nom;
  41.         return $this;
  42.     }
  43.     public function getPrenom(): ?string
  44.     {
  45.         return $this->prenom;
  46.     }
  47.     public function setPrenom(?string $prenom): static
  48.     {
  49.         $this->prenom $prenom;
  50.         return $this;
  51.     }
  52.     public function getPhoto(): ?string
  53.     {
  54.         return $this->photo;
  55.     }
  56.     public function setPhoto(?string $photo): static
  57.     {
  58.         $this->photo $photo;
  59.         return $this;
  60.     }
  61.     public function getGrade(): ?string
  62.     {
  63.         return $this->grade;
  64.     }
  65.     public function setGrade(?string $grade): static
  66.     {
  67.         $this->grade $grade;
  68.         return $this;
  69.     }
  70.     public function getAffiliation(): ?string
  71.     {
  72.         return $this->affiliation;
  73.     }
  74.     public function setAffiliation(?string $affiliation): static
  75.     {
  76.         $this->affiliation $affiliation;
  77.         return $this;
  78.     }
  79.     public function getBiographie(): ?string
  80.     {
  81.         return $this->biographie;
  82.     }
  83.     public function setBiographie(?string $biographie): static
  84.     {
  85.         $this->biographie $biographie;
  86.         return $this;
  87.     }
  88.     public function getLien(): ?string
  89.     {
  90.         return $this->lien;
  91.     }
  92.     public function setLien(?string $lien): static
  93.     {
  94.         $this->lien $lien;
  95.         return $this;
  96.     }
  97.     public function getLibelletalk(): ?string
  98.     {
  99.         return $this->libelletalk;
  100.     }
  101.     public function setLibelletalk(?string $libelletalk): static
  102.     {
  103.         $this->libelletalk $libelletalk;
  104.         return $this;
  105.     }
  106.     
  107. }