<?phpnamespace App\Entity;use App\Repository\RecommandationRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=RecommandationRepository::class) */class Recommandation{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=512) */ private $user_id; /** * @ORM\Column(type="string", length=255) */ private $ordre; /** * @ORM\Column(type="string", length=255) */ private $cluster; /** * @ORM\Column(type="string", length=1024) */ private $url; /** * @ORM\Column(type="float") */ private $score; /** * @ORM\Column(type="integer") */ private $categorie_id; public function getId(): ?int { return $this->id; } public function getUserId(): ?string { return $this->user_id; } public function setUserId(string $user_id): self { $this->user_id = $user_id; return $this; } public function getOrdre(): ?string { return $this->ordre; } public function setOrdre(string $ordre): self { $this->ordre = $ordre; return $this; } public function getCluster(): ?string { return $this->cluster; } public function setCluster(string $cluster): self { $this->cluster = $cluster; return $this; } public function getUrl(): ?string { return $this->url; } public function setUrl(string $url): self { $this->url = $url; return $this; } public function getScore(): ?float { return $this->score; } public function setScore(float $score): self { $this->score = $score; return $this; } public function getCategorieId(): ?int { return $this->categorie_id; } public function setCategorieId(int $categorie_id): self { $this->categorie_id = $categorie_id; return $this; }}