src/Entity/Tarif.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\TarifRepository")
  6.  * @ORM\Table(name="loc_tarifs")
  7.  */
  8. class Tarif
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=100)
  18.      */
  19.     public $titre;
  20.     /**
  21.      * @ORM\Column(type="string", length=100)
  22.      */
  23.     public $description;
  24.     /**
  25.      * @ORM\Column(type="string", length=100)
  26.      */
  27.     public $logo;
  28.     /**
  29.      * @ORM\Column(type="string", length=100)
  30.      */
  31.     public $pu;
  32.     public function getId(): ?string
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getTitre(): ?string
  37.     {
  38.         return $this->titre;
  39.     }
  40.     public function setTitre(string $titre): self
  41.     {
  42.         $this->titre $titre;
  43.         return $this;
  44.     }
  45.     public function getDescription(): ?string
  46.     {
  47.         return $this->description;
  48.     }
  49.     public function setDescription(string $description): self
  50.     {
  51.         $this->description $description;
  52.         return $this;
  53.     }
  54.     public function getPu(): ?string
  55.     {
  56.         return $this->pu;
  57.     }
  58.     public function setPu(string $pu): self
  59.     {
  60.         $this->pu $pu;
  61.         return $this;
  62.     }
  63.     public function getLogo(): ?string
  64.     {
  65.         return $this->logo;
  66.     }
  67.     public function setLogo(string $logo): self
  68.     {
  69.         $this->logo $logo;
  70.         return $this;
  71.     }
  72. }