src/Entity/Patients.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Patients
  7.  *
  8.  * @ORM\Table(name="Patients")
  9.  * @ORM\Entity
  10.  */
  11. class Patients
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="nom", type="string", length=50, nullable=false)
  25.      */
  26.     private $nom;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="prenom", type="string", length=50, nullable=false)
  31.      */
  32.     private $prenom;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="sexe", type="string", length=50, nullable=false)
  37.      */
  38.     private $sexe;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="email", type="string", length=50, nullable=false)
  43.      */
  44.     private $email;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="password", type="string", length=50, nullable=false)
  49.      */
  50.     private $password;
  51.     /**
  52.      * @var \DateTime
  53.      *
  54.      * @ORM\Column(name="datenaissance", type="date", nullable=false)
  55.      */
  56.     private $datenaissance;
  57.     /**
  58.      * @var string
  59.      *
  60.      * @ORM\Column(name="lieunaissance", type="string", length=50, nullable=false)
  61.      */
  62.     private $lieunaissance;
  63.     /**
  64.      * @var string
  65.      *
  66.      * @ORM\Column(name="origine", type="string", length=50, nullable=false)
  67.      */
  68.     private $origine;
  69.     /**
  70.      * @var string
  71.      *
  72.      * @ORM\Column(name="adresse", type="string", length=300, nullable=false)
  73.      */
  74.     private $adresse;
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="situationFamille", type="string", length=100, nullable=false)
  79.      */
  80.     private $situationfamille;
  81.     /**
  82.      * @var int
  83.      *
  84.      * @ORM\Column(name="nombreEnfant", type="integer", nullable=false)
  85.      */
  86.     private $nombreenfant;
  87.     /**
  88.      * @var string
  89.      *
  90.      * @ORM\Column(name="FromWho", type="string", length=50, nullable=false)
  91.      */
  92.     private $fromwho;
  93.     /**
  94.      * @var int
  95.      *
  96.      * @ORM\Column(name="nbAbsence", type="integer", nullable=false)
  97.      */
  98.     private $nbabsence;
  99.     public function getId(): ?int
  100.     {
  101.         return $this->id;
  102.     }
  103.     public function getNom(): ?string
  104.     {
  105.         return $this->nom;
  106.     }
  107.     public function setNom(string $nom): self
  108.     {
  109.         $this->nom $nom;
  110.         return $this;
  111.     }
  112.     public function getPrenom(): ?string
  113.     {
  114.         return $this->prenom;
  115.     }
  116.     public function setPrenom(string $prenom): self
  117.     {
  118.         $this->prenom $prenom;
  119.         return $this;
  120.     }
  121.     public function getSexe(): ?string
  122.     {
  123.         return $this->sexe;
  124.     }
  125.     public function setSexe(string $sexe): self
  126.     {
  127.         $this->sexe $sexe;
  128.         return $this;
  129.     }
  130.     public function getEmail(): ?string
  131.     {
  132.         return $this->email;
  133.     }
  134.     public function setEmail(string $email): self
  135.     {
  136.         $this->email $email;
  137.         return $this;
  138.     }
  139.     public function getPassword(): ?string
  140.     {
  141.         return $this->password;
  142.     }
  143.     public function setPassword(string $password): self
  144.     {
  145.         $this->password $password;
  146.         return $this;
  147.     }
  148.     public function getDatenaissance(): ?\DateTimeInterface
  149.     {
  150.         return $this->datenaissance;
  151.     }
  152.     public function setDatenaissance(\DateTimeInterface $datenaissance): self
  153.     {
  154.         $this->datenaissance $datenaissance;
  155.         return $this;
  156.     }
  157.     public function getLieunaissance(): ?string
  158.     {
  159.         return $this->lieunaissance;
  160.     }
  161.     public function setLieunaissance(string $lieunaissance): static
  162.     {
  163.         $this->lieunaissance $lieunaissance;
  164.         return $this;
  165.     }
  166.     public function getOrigine(): ?string
  167.     {
  168.         return $this->origine;
  169.     }
  170.     public function setOrigine(string $origine): static
  171.     {
  172.         $this->origine $origine;
  173.         return $this;
  174.     }
  175.     public function getAdresse(): ?string
  176.     {
  177.         return $this->adresse;
  178.     }
  179.     public function setAdresse(string $adresse): static
  180.     {
  181.         $this->adresse $adresse;
  182.         return $this;
  183.     }
  184.     public function getSituationfamille(): ?string
  185.     {
  186.         return $this->situationfamille;
  187.     }
  188.     public function setSituationfamille(string $situationfamille): static
  189.     {
  190.         $this->situationfamille $situationfamille;
  191.         return $this;
  192.     }
  193.     public function getNombreenfant(): ?int
  194.     {
  195.         return $this->nombreenfant;
  196.     }
  197.     public function setNombreenfant(int $nombreenfant): static
  198.     {
  199.         $this->nombreenfant $nombreenfant;
  200.         return $this;
  201.     }
  202.     public function getFromwho(): ?string
  203.     {
  204.         return $this->fromwho;
  205.     }
  206.     public function setFromwho(string $fromwho): self
  207.     {
  208.         $this->fromwho $fromwho;
  209.         return $this;
  210.     }
  211.     public function getNbabsence(): ?int
  212.     {
  213.         return $this->nbabsence;
  214.     }
  215.     public function setNbabsence(int $nbabsence): self
  216.     {
  217.         $this->nbabsence $nbabsence;
  218.         return $this;
  219.     }
  220. }