<?phpnamespace App\Entity;use App\Repository\PourcentageQuizRepository;use Doctrine\ORM\Mapping as ORM;use Knp\DoctrineBehaviors\Contract\Entity\BlameableInterface;use Knp\DoctrineBehaviors\Contract\Entity\TimestampableInterface;use Knp\DoctrineBehaviors\Model\Blameable\BlameableTrait;use Knp\DoctrineBehaviors\Model\Timestampable\TimestampableTrait;#[ORM\Entity(repositoryClass: PourcentageQuizRepository::class)]class PourcentageQuiz implements BlameableInterface, TimestampableInterface{ use BlameableTrait; use TimestampableTrait; #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: 'float', nullable: true)] private ?float $pourcentage = null; #[ORM\ManyToOne(inversedBy: 'pourcentageQuizzes')] private ?Quiz $quiz = null; #[ORM\Column(type: 'string', length: 255)] private ?string $token = null; #[ORM\ManyToOne(inversedBy: 'pourcentageQuizzes')] #[ORM\JoinColumn(nullable: false)] private ?DemandeServiceCandidat $candidat = null; #[ORM\ManyToOne(inversedBy: 'pourcentageQuizzes')] #[ORM\JoinColumn(nullable: false)] private ?DemandeAffectation $demandeAffectation = null; #[ORM\ManyToOne(inversedBy: 'pourcentageQuizzes')] private ?QuizMention $mention = null; public function getId(): ?int { return $this->id; } public function getPourcentage(): ?float { return $this->pourcentage; } public function setPourcentage(float $pourcentage): self { $this->pourcentage = $pourcentage; return $this; } public function getQuiz(): ?Quiz { return $this->quiz; } public function setQuiz(?Quiz $quiz): self { $this->quiz = $quiz; return $this; } public function getToken(): ?string { return $this->token; } public function setToken(string $token): self { $this->token = $token; return $this; } public function getCandidat(): ?DemandeServiceCandidat { return $this->candidat; } public function setCandidat(?DemandeServiceCandidat $candidat): self { $this->candidat = $candidat; return $this; } public function getDemandeAffectation(): ?DemandeAffectation { return $this->demandeAffectation; } public function setDemandeAffectation(?DemandeAffectation $demandeAffectation): self { $this->demandeAffectation = $demandeAffectation; return $this; } public function getMention(): ?QuizMention { return $this->mention; } public function setMention(?QuizMention $mention): self { $this->mention = $mention; return $this; }}