src/Entity/Inscription.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\InscriptionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. // use Symfony\Component\Validator\Constraints\Length;
  6. // use Symfony\Component\Validator\Constraints as Assert;
  7. /**
  8.  * @ORM\Entity(repositoryClass=InscriptionRepository::class)
  9.  */
  10. class Inscription
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255)
  20.      */
  21.     private $nom;
  22.     /**
  23.      * @ORM\Column(type="string", length=255)
  24.      */
  25.     private $prenom;
  26.     /**
  27.      * @ORM\Column(type="string", length=255)
  28.      */
  29.     private $registration;
  30.     /**
  31.      * @ORM\Column(type="string", length=255)
  32.      */
  33.     private $type;
  34.     /**
  35.      * @ORM\Column(type="date")
  36.      */
  37.     private $date;
  38.     /**
  39.      * @ORM\ManyToOne(targetEntity=Congres::class, inversedBy="inscriptions")
  40.      */
  41.     private $congres;
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity=Event::class, inversedBy="inscriptions")
  44.      */
  45.     private $event;
  46.     /**
  47.      * @ORM\Column(type="string", length=255)
  48.      */
  49.     private $verified;
  50.     /**
  51.      * @ORM\Column(type="string", length=255)
  52.      */
  53.     private $email;
  54. /**
  55.      * @ORM\Column(type="string", length=255)
  56.      */
  57.     private $adresse;
  58.     /**
  59.      * @ORM\Column(type="string", length=255)
  60.      */
  61.     private $telephone;
  62.     /**
  63.      * @ORM\Column(type="string", length=255, nullable=true)
  64.      */
  65.     private $titre;
  66.     /**
  67.      * @ORM\Column(type="string", length=255, nullable=true)
  68.      */
  69.     private $specialite;
  70.     /**
  71.      * @ORM\Column(type="string", length=255)
  72.      */
  73.     private $activite;
  74.     /**
  75.      * @ORM\Column(type="string", length=255, nullable=true)
  76.      */
  77.     private $role;
  78.     public function getId(): ?int
  79.     {
  80.         return $this->id;
  81.     }
  82.     public function getNom(): ?string
  83.     {
  84.         return $this->nom;
  85.     }
  86.     public function setNom(string $nom): self
  87.     {
  88.         $this->nom = $nom;
  89.         return $this;
  90.     }
  91.     public function getPrenom(): ?string
  92.     {
  93.         return $this->prenom;
  94.     }
  95.     public function setPrenom(string $prenom): self
  96.     {
  97.         $this->prenom = $prenom;
  98.         return $this;
  99.     }
  100.     public function getRegistration(): ?string
  101.     {
  102.         return $this->registration;
  103.     }
  104.     public function setRegistration(string $registration): self
  105.     {
  106.         $this->registration = $registration;
  107.         return $this;
  108.     }
  109.     public function getType(): ?string
  110.     {
  111.         return $this->type;
  112.     }
  113.     public function setType(string $type): self
  114.     {
  115.         $this->type = $type;
  116.         return $this;
  117.     }
  118.     public function getDate(): ?\DateTimeInterface
  119.     {
  120.         return $this->date;
  121.     }
  122.     public function setDate(\DateTimeInterface $date): self
  123.     {
  124.         $this->date = $date;
  125.         return $this;
  126.     }
  127.     public function getCongres(): ?Congres
  128.     {
  129.         return $this->congres;
  130.     }
  131.     public function setCongres(?Congres $congres): self
  132.     {
  133.         $this->congres = $congres;
  134.         return $this;
  135.     }
  136.     public function getEvent(): ?Event
  137.     {
  138.         return $this->event;
  139.     }
  140.     public function setEvent(?Event $event): self
  141.     {
  142.         $this->event = $event;
  143.         return $this;
  144.     }
  145.     public function getVerified(): ?string
  146.     {
  147.         return $this->verified;
  148.     }
  149.     public function setVerified(string $verified): self
  150.     {
  151.         $this->verified = $verified;
  152.         return $this;
  153.     }
  154.     public function getEmail(): ?string
  155.     {
  156.         return $this->email;
  157.     }
  158.     public function setEmail(string $email): self
  159.     {
  160.         $this->email = $email;
  161.         return $this;
  162.     }
  163.     public function getAdresse(): ?string
  164.     {
  165.         return $this->adresse;
  166.     }
  167.     public function setAdresse(string $adresse): self
  168.     {
  169.         $this->adresse = $adresse;
  170.         return $this;
  171.     }
  172.     public function getTelephone(): ?string
  173.     {
  174.         return $this->telephone;
  175.     }
  176.     public function setTelephone(string $telephone): self
  177.     {
  178.         $this->telephone = $telephone;
  179.         return $this;
  180.     }
  181.     public function getTitre(): ?string
  182.     {
  183.         return $this->titre;
  184.     }
  185.     public function setTitre(?string $titre): self
  186.     {
  187.         $this->titre = $titre;
  188.         return $this;
  189.     }
  190.     public function getSpecialite(): ?string
  191.     {
  192.         return $this->specialite;
  193.     }
  194.     public function setSpecialite(?string $specialite): self
  195.     {
  196.         $this->specialite = $specialite;
  197.         return $this;
  198.     }
  199.     public function getActivite(): ?string
  200.     {
  201.         return $this->activite;
  202.     }
  203.     public function setActivite(string $activite): self
  204.     {
  205.         $this->activite = $activite;
  206.         return $this;
  207.     }
  208.     public function getRole(): ?string
  209.     {
  210.         return $this->role;
  211.     }
  212.     public function setRole(string $role): self
  213.     {
  214.         $this->role = $role;
  215.         return $this;
  216.     }
  217. }