src/Entity/UserTypepaiement.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserTypepaiementRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=UserTypepaiementRepository::class)
  7.  */
  8. class UserTypepaiement
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="userTypepaiements")
  18.      */
  19.     private $users;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Typepaiement::class, inversedBy="userTypepaiements")
  22.      */
  23.     private $typepaiements;
  24.     /**
  25.      * @ORM\Column(type="boolean", nullable=true)
  26.      */
  27.     private $isValid;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getUsers(): ?User
  33.     {
  34.         return $this->users;
  35.     }
  36.     public function setUsers(?User $users): self
  37.     {
  38.         $this->users $users;
  39.         return $this;
  40.     }
  41.     public function getTypepaiements(): ?Typepaiement
  42.     {
  43.         return $this->typepaiements;
  44.     }
  45.     public function setTypepaiements(?Typepaiement $typepaiements): self
  46.     {
  47.         $this->typepaiements $typepaiements;
  48.         return $this;
  49.     }
  50.     public function getIsValid(): ?bool
  51.     {
  52.         return $this->isValid;
  53.     }
  54.     public function setIsValid(?bool $isValid): self
  55.     {
  56.         $this->isValid $isValid;
  57.         return $this;
  58.     }
  59. }