Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * @ORM\Table(name="t_utilisateur_logiciel")
- * @ORM\Entity(repositoryClass="App\Repository\UtilisateurLogicielRepository")
- */
- class UtilisateurLogiciel
- {
- /**
- * @ORM\Id()
- * @ORM\GeneratedValue()
- * @ORM\Column(name="ul_id", type="integer")
- */
- private $id;
- /**
- * @ORM\Column(name="ul_nom", type="string", length=255, nullable=true)
- */
- private $nom;
- /**
- * @ORM\Column(name="ul_prenom", type="string", length=255, nullable=true)
- */
- private $prenom;
- /**
- * @ORM\Column(name="ul_email", type="string", length=255)
- */
- private $email;
- /**
- * @ORM\Column(name="ul_telephone", type="string", length=11, nullable=true)
- */
- private $telephone;
- /**
- * @ORM\Column(name="ul_formation", type="boolean", nullable=true)
- */
- private $formation;
- /**
- * @ORM\ManyToOne(targetEntity="App\Entity\Formulaire", inversedBy="utilisateurLogiciel")
- * @ORM\JoinColumn(nullable=true, referencedColumnName="fm_id")
- */
- private $formulaire;
- public function getId(): ?int
- {
- return $this->id;
- }
- public function getNom(): ?string
- {
- return $this->nom;
- }
- public function setNom(?string $nom): self
- {
- $this->nom = $nom;
- return $this;
- }
- public function getPrenom(): ?string
- {
- return $this->prenom;
- }
- public function setPrenom(?string $prenom): self
- {
- $this->prenom = $prenom;
- return $this;
- }
- public function getEmail(): ?string
- {
- return $this->email;
- }
- public function setEmail(string $email): self
- {
- $this->email = $email;
- return $this;
- }
- public function getTelephone(): ?string
- {
- return $this->telephone;
- }
- public function setTelephone(?string $telephone): self
- {
- $this->telephone = $telephone;
- return $this;
- }
- public function getFormation(): ?bool
- {
- return $this->formation;
- }
- public function setFormation(?bool $formation): self
- {
- $this->formation = $formation;
- return $this;
- }
- public function getFormulaire(): ?Formulaire
- {
- return $this->formulaire;
- }
- public function setFormulaire(?Formulaire $formulaire): self
- {
- $this->formulaire = $formulaire;
- return $this;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement