src/Entity/Recommandation.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RecommandationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=RecommandationRepository::class)
  7.  */
  8. class Recommandation
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=512)
  18.      */
  19.     private $user_id;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $ordre;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $cluster;
  28.     /**
  29.      * @ORM\Column(type="string", length=1024)
  30.      */
  31.     private $url;
  32.     /**
  33.      * @ORM\Column(type="float")
  34.      */
  35.     private $score;
  36.     /**
  37.      * @ORM\Column(type="integer")
  38.      */
  39.     private $categorie_id;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getUserId(): ?string
  45.     {
  46.         return $this->user_id;
  47.     }
  48.     public function setUserId(string $user_id): self
  49.     {
  50.         $this->user_id $user_id;
  51.         return $this;
  52.     }
  53.     public function getOrdre(): ?string
  54.     {
  55.         return $this->ordre;
  56.     }
  57.     public function setOrdre(string $ordre): self
  58.     {
  59.         $this->ordre $ordre;
  60.         return $this;
  61.     }
  62.     public function getCluster(): ?string
  63.     {
  64.         return $this->cluster;
  65.     }
  66.     public function setCluster(string $cluster): self
  67.     {
  68.         $this->cluster $cluster;
  69.         return $this;
  70.     }
  71.     public function getUrl(): ?string
  72.     {
  73.         return $this->url;
  74.     }
  75.     public function setUrl(string $url): self
  76.     {
  77.         $this->url $url;
  78.         return $this;
  79.     }
  80.     public function getScore(): ?float
  81.     {
  82.         return $this->score;
  83.     }
  84.     public function setScore(float $score): self
  85.     {
  86.         $this->score $score;
  87.         return $this;
  88.     }
  89.     public function getCategorieId(): ?int
  90.     {
  91.         return $this->categorie_id;
  92.     }
  93.     public function setCategorieId(int $categorie_id): self
  94.     {
  95.         $this->categorie_id $categorie_id;
  96.         return $this;
  97.     }
  98. }