Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6.  
  7. /**
  8. * @ORM\Table(name="t_utilisateur_logiciel")
  9. * @ORM\Entity(repositoryClass="App\Repository\UtilisateurLogicielRepository")
  10. */
  11. class UtilisateurLogiciel
  12. {
  13. /**
  14. * @ORM\Id()
  15. * @ORM\GeneratedValue()
  16. * @ORM\Column(name="ul_id", type="integer")
  17. */
  18. private $id;
  19.  
  20. /**
  21. * @ORM\Column(name="ul_nom", type="string", length=255, nullable=true)
  22. */
  23. private $nom;
  24.  
  25. /**
  26. * @ORM\Column(name="ul_prenom", type="string", length=255, nullable=true)
  27. */
  28. private $prenom;
  29.  
  30. /**
  31. * @ORM\Column(name="ul_email", type="string", length=255)
  32. */
  33. private $email;
  34.  
  35. /**
  36. * @ORM\Column(name="ul_telephone", type="string", length=11, nullable=true)
  37. */
  38. private $telephone;
  39.  
  40. /**
  41. * @ORM\Column(name="ul_formation", type="boolean", nullable=true)
  42. */
  43. private $formation;
  44.  
  45. /**
  46. * @ORM\ManyToOne(targetEntity="App\Entity\Formulaire", inversedBy="utilisateurLogiciel")
  47. * @ORM\JoinColumn(nullable=true, referencedColumnName="fm_id")
  48. */
  49. private $formulaire;
  50.  
  51. public function getId(): ?int
  52. {
  53. return $this->id;
  54. }
  55.  
  56. public function getNom(): ?string
  57. {
  58. return $this->nom;
  59. }
  60.  
  61. public function setNom(?string $nom): self
  62. {
  63. $this->nom = $nom;
  64.  
  65. return $this;
  66. }
  67.  
  68. public function getPrenom(): ?string
  69. {
  70. return $this->prenom;
  71. }
  72.  
  73. public function setPrenom(?string $prenom): self
  74. {
  75. $this->prenom = $prenom;
  76.  
  77. return $this;
  78. }
  79.  
  80. public function getEmail(): ?string
  81. {
  82. return $this->email;
  83. }
  84.  
  85. public function setEmail(string $email): self
  86. {
  87. $this->email = $email;
  88.  
  89. return $this;
  90. }
  91.  
  92. public function getTelephone(): ?string
  93. {
  94. return $this->telephone;
  95. }
  96.  
  97. public function setTelephone(?string $telephone): self
  98. {
  99. $this->telephone = $telephone;
  100.  
  101. return $this;
  102. }
  103.  
  104. public function getFormation(): ?bool
  105. {
  106. return $this->formation;
  107. }
  108.  
  109. public function setFormation(?bool $formation): self
  110. {
  111. $this->formation = $formation;
  112.  
  113. return $this;
  114. }
  115.  
  116. public function getFormulaire(): ?Formulaire
  117. {
  118. return $this->formulaire;
  119. }
  120.  
  121. public function setFormulaire(?Formulaire $formulaire): self
  122. {
  123. $this->formulaire = $formulaire;
  124.  
  125. return $this;
  126. }
  127.  
  128.  
  129. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement