<?php
namespace App\Entity;
use App\Repository\SkillsRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: SkillsRepository::class)]
class Skills
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $titre = null;
#[ORM\Column(nullable: true)]
private ?int $pourcentage = null;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(?string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getPourcentage(): ?int
{
return $this->pourcentage;
}
public function setPourcentage(?int $pourcentage): self
{
$this->pourcentage = $pourcentage;
return $this;
}
}