src/Entity/PrixVariable.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PrixVariableRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PrixVariableRepository::class)
  7.  */
  8. class PrixVariable
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $evenementprix_id;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $Name;
  24.      /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $Category;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $Prix;
  32.         /**
  33.     * @ORM\ManyToOne(targetEntity="EvenementAVenir",inversedBy="prixvariables")
  34.     */
  35.     private $evenementprix;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getName(): ?string
  41.     {
  42.         return $this->Name;
  43.     }
  44.     public function setName(string $Name): self
  45.     {
  46.         $this->Name $Name;
  47.         return $this;
  48.     }
  49.      public function getCategory(): ?string
  50.     {
  51.         return $this->Category;
  52.     }
  53.     public function setCategory(string $Category): self
  54.     {
  55.         $this->Category $Category;
  56.         return $this;
  57.     }
  58.     public function getPrix(): ?string
  59.     {
  60.         return $this->Prix;
  61.     }
  62.     public function setPrix(string $Prix): self
  63.     {
  64.         $this->Prix $Prix;
  65.         return $this;
  66.     }
  67.     public function getEvenementprix(): ?EvenementAVenir
  68.     {
  69.         return $this->evenementprix;
  70.     }
  71.     public function setEvenementprix(?EvenementAVenir $evenementprix): self
  72.     {
  73.         $this->evenementprix $evenementprix;
  74.         return $this;
  75.     }
  76.     public function getEvenementprixId(): ?int
  77.     {
  78.         return $this->evenementprix_id;
  79.     }
  80.     public function setEvenementprixId(int $evenementprix_id): self
  81.     {
  82.         $this->evenementprix_id $evenementprix_id;
  83.         return $this;
  84.     }
  85. }