src/Entity/Parametres.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Parametres
  6.  *
  7.  * @ORM\Table(name="parametres", indexes={@ORM\Index(name="id_liste_pays", columns={"id_liste_pays"}), @ORM\Index(name="voyage_public", columns={"voyage_public"}), @ORM\Index(name="pseudo", columns={"pseudo"}), @ORM\Index(name="nom", columns={"nom"}), @ORM\Index(name="email", columns={"email"}), @ORM\Index(name="date_naiss", columns={"date_naiss"}), @ORM\Index(name="id_credentiel", columns={"id_credentiel"}), @ORM\Index(name="mot_de_passe", columns={"mot_de_passe"})})
  8.  * @ORM\Entity
  9.  */
  10. class Parametres
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id_parametres", type="integer", nullable=false, options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idParametres;
  20.     /**
  21.      * @var \DateTime|null
  22.      *
  23.      * @ORM\Column(name="date_connexion", type="date", nullable=true)
  24.      */
  25.     private $dateConnexion;
  26.     /**
  27.      * @var \DateTime|null
  28.      *
  29.      * @ORM\Column(name="date_demande", type="date", nullable=true)
  30.      */
  31.     private $dateDemande;
  32.     /**
  33.      * @var bool|null
  34.      *
  35.      * @ORM\Column(name="renitialiser", type="boolean", nullable=true)
  36.      */
  37.     private $renitialiser;
  38.     /**
  39.      * @var bool|null
  40.      *
  41.      * @ORM\Column(name="envoyer", type="boolean", nullable=true)
  42.      */
  43.     private $envoyer;
  44.     /**
  45.      * @var int|null
  46.      *
  47.      * @ORM\Column(name="id_credentiel", type="integer", nullable=true, options={"default"="1","unsigned"=true})
  48.      */
  49.     private $idCredentiel '1';
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="pseudo", type="string", length=50, nullable=false)
  54.      */
  55.     private $pseudo;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="mot_de_passe", type="string", length=50, nullable=false)
  60.      */
  61.     private $motDePasse;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="email", type="string", length=100, nullable=false)
  66.      */
  67.     private $email;
  68.     /**
  69.      * @var string|null
  70.      *
  71.      * @ORM\Column(name="nom", type="string", length=100, nullable=true)
  72.      */
  73.     private $nom;
  74.     /**
  75.      * @var string|null
  76.      *
  77.      * @ORM\Column(name="prenom", type="string", length=100, nullable=true)
  78.      */
  79.     private $prenom;
  80.     /**
  81.      * @var \DateTime|null
  82.      *
  83.      * @ORM\Column(name="date_naiss", type="date", nullable=true)
  84.      */
  85.     private $dateNaiss;
  86.     /**
  87.      * @var string|null
  88.      *
  89.      * @ORM\Column(name="ville", type="string", length=100, nullable=true)
  90.      */
  91.     private $ville;
  92.     /**
  93.      * @var string|null
  94.      *
  95.      * @ORM\Column(name="id_liste_pays", type="string", length=2, nullable=true, options={"fixed"=true})
  96.      */
  97.     private $idListePays;
  98.     /**
  99.      * @var string|null
  100.      *
  101.      * @ORM\Column(name="langue", type="string", length=100, nullable=true)
  102.      */
  103.     private $langue;
  104.     /**
  105.      * @var bool|null
  106.      *
  107.      * @ORM\Column(name="visible", type="boolean", nullable=true)
  108.      */
  109.     private $visible;
  110.     /**
  111.      * @var string|null
  112.      *
  113.      * @ORM\Column(name="photo", type="string", length=255, nullable=true)
  114.      */
  115.     private $photo;
  116.     /**
  117.      * @var bool|null
  118.      *
  119.      * @ORM\Column(name="voyage_public", type="boolean", nullable=true)
  120.      */
  121.     private $voyagePublic;
  122.     /**
  123.      * @var string|null
  124.      *
  125.      * @ORM\Column(name="device", type="string", length=3, nullable=true)
  126.      */
  127.     private $device;
  128.     /**
  129.      * @var string|null
  130.      *
  131.      * @ORM\Column(name="latitude", type="string", length=50, nullable=true)
  132.      */
  133.     private $latitude;
  134.     /**
  135.      * @var string|null
  136.      *
  137.      * @ORM\Column(name="longitude", type="string", length=50, nullable=true)
  138.      */
  139.     private $longitude;
  140.     /**
  141.      * @var string|null
  142.      *
  143.      * @ORM\Column(name="lieu_localisation", type="string", length=150, nullable=true)
  144.      */
  145.     private $lieuLocalisation;
  146.     /**
  147.      * @var int|null
  148.      *
  149.      * @ORM\Column(name="pays_localisation", type="integer", nullable=true)
  150.      */
  151.     private $paysLocalisation;
  152.     
  153.     /**
  154.      * @ORM\Column(type="string", name="facebook_id", nullable=true)
  155.      */
  156.     protected $facebookId;
  157.     /**
  158.      * @ORM\Column(type="string", name="google_id", nullable=true)
  159.      */
  160.     protected $googleId;
  161.     public function getIdParametres(): ?int
  162.     {
  163.         return $this->idParametres;
  164.     }
  165.     public function getDateConnexion(): ?\DateTimeInterface
  166.     {
  167.         return $this->dateConnexion;
  168.     }
  169.     public function setDateConnexion(?\DateTimeInterface $dateConnexion): self
  170.     {
  171.         $this->dateConnexion $dateConnexion;
  172.         return $this;
  173.     }
  174.     public function getDateDemande(): ?\DateTimeInterface
  175.     {
  176.         return $this->dateDemande;
  177.     }
  178.     public function setDateDemande(?\DateTimeInterface $dateDemande): self
  179.     {
  180.         $this->dateDemande $dateDemande;
  181.         return $this;
  182.     }
  183.     public function getRenitialiser(): ?bool
  184.     {
  185.         return $this->renitialiser;
  186.     }
  187.     public function setRenitialiser(?bool $renitialiser): self
  188.     {
  189.         $this->renitialiser $renitialiser;
  190.         return $this;
  191.     }
  192.     public function getEnvoyer(): ?bool
  193.     {
  194.         return $this->envoyer;
  195.     }
  196.     public function setEnvoyer(?bool $envoyer): self
  197.     {
  198.         $this->envoyer $envoyer;
  199.         return $this;
  200.     }
  201.     public function getIdCredentiel(): ?int
  202.     {
  203.         return $this->idCredentiel;
  204.     }
  205.     public function setIdCredentiel(?int $idCredentiel): self
  206.     {
  207.         $this->idCredentiel $idCredentiel;
  208.         return $this;
  209.     }
  210.     public function getPseudo(): ?string
  211.     {
  212.         return $this->pseudo;
  213.     }
  214.     public function setPseudo(string $pseudo): self
  215.     {
  216.         $this->pseudo $pseudo;
  217.         return $this;
  218.     }
  219.     public function getMotDePasse(): ?string
  220.     {
  221.         return $this->motDePasse;
  222.     }
  223.     public function setMotDePasse(string $motDePasse): self
  224.     {
  225.         $this->motDePasse $motDePasse;
  226.         return $this;
  227.     }
  228.     public function getEmail(): ?string
  229.     {
  230.         return $this->email;
  231.     }
  232.     public function setEmail(string $email): self
  233.     {
  234.         $this->email $email;
  235.         return $this;
  236.     }
  237.     public function getNom(): ?string
  238.     {
  239.         return $this->nom;
  240.     }
  241.     public function setNom(?string $nom): self
  242.     {
  243.         $this->nom $nom;
  244.         return $this;
  245.     }
  246.     public function getPrenom(): ?string
  247.     {
  248.         return $this->prenom;
  249.     }
  250.     public function setPrenom(?string $prenom): self
  251.     {
  252.         $this->prenom $prenom;
  253.         return $this;
  254.     }
  255.     public function getDateNaiss(): ?\DateTimeInterface
  256.     {
  257.         return $this->dateNaiss;
  258.     }
  259.     public function setDateNaiss(?\DateTimeInterface $dateNaiss): self
  260.     {
  261.         $this->dateNaiss $dateNaiss;
  262.         return $this;
  263.     }
  264.     public function getVille(): ?string
  265.     {
  266.         return $this->ville;
  267.     }
  268.     public function setVille(?string $ville): self
  269.     {
  270.         $this->ville $ville;
  271.         return $this;
  272.     }
  273.     public function getIdListePays(): ?string
  274.     {
  275.         return $this->idListePays;
  276.     }
  277.     public function setIdListePays(?string $idListePays): self
  278.     {
  279.         $this->idListePays $idListePays;
  280.         return $this;
  281.     }
  282.     public function getLangue(): ?string
  283.     {
  284.         return $this->langue;
  285.     }
  286.     public function setLangue(?string $langue): self
  287.     {
  288.         $this->langue $langue;
  289.         return $this;
  290.     }
  291.     public function getVisible(): ?bool
  292.     {
  293.         return $this->visible;
  294.     }
  295.     public function setVisible(?bool $visible): self
  296.     {
  297.         $this->visible $visible;
  298.         return $this;
  299.     }
  300.     public function getPhoto(): ?string
  301.     {
  302.         return $this->photo;
  303.     }
  304.     public function setPhoto(?string $photo): self
  305.     {
  306.         $this->photo $photo;
  307.         return $this;
  308.     }
  309.     public function getVoyagePublic(): ?bool
  310.     {
  311.         return $this->voyagePublic;
  312.     }
  313.     public function setVoyagePublic(?bool $voyagePublic): self
  314.     {
  315.         $this->voyagePublic $voyagePublic;
  316.         return $this;
  317.     }
  318.     public function getDevice(): ?string
  319.     {
  320.         return $this->device;
  321.     }
  322.     public function setDevice(?string $device): self
  323.     {
  324.         $this->device $device;
  325.         return $this;
  326.     }
  327.     public function getLatitude(): ?string
  328.     {
  329.         return $this->latitude;
  330.     }
  331.     public function setLatitude(?string $latitude): self
  332.     {
  333.         $this->latitude $latitude;
  334.         return $this;
  335.     }
  336.     public function getLongitude(): ?string
  337.     {
  338.         return $this->longitude;
  339.     }
  340.     public function setLongitude(?string $longitude): self
  341.     {
  342.         $this->longitude $longitude;
  343.         return $this;
  344.     }
  345.     public function getLieuLocalisation(): ?string
  346.     {
  347.         return $this->lieuLocalisation;
  348.     }
  349.     public function setLieuLocalisation(?string $lieuLocalisation): self
  350.     {
  351.         $this->lieuLocalisation $lieuLocalisation;
  352.         return $this;
  353.     }
  354.     public function getPaysLocalisation(): ?int
  355.     {
  356.         return $this->paysLocalisation;
  357.     }
  358.     public function setPaysLocalisation(?int $paysLocalisation): self
  359.     {
  360.         $this->paysLocalisation $paysLocalisation;
  361.         return $this;
  362.     }
  363.  /**
  364.      * @return mixed
  365.      */
  366.     public function getFacebookId()
  367.     {
  368.         return $this->facebookId;
  369.     }
  370.     /**
  371.      * @param mixed $facebookId
  372.      */
  373.     public function setFacebookId($facebookId)
  374.     {
  375.         $this->facebookId $facebookId;
  376.     }
  377.     /**
  378.      * @return mixed
  379.      */
  380.     public function getGoogleId()
  381.     {
  382.         return $this->googleId;
  383.     }
  384.     /**
  385.      * @param mixed $googleId
  386.      */
  387.     public function setGoogleId($googleId)
  388.     {
  389.         $this->googleId $googleId;
  390.     }
  391. }