src/Entity/RecruitEvaluationScore.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RecruitEvaluationScoreRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRecruitEvaluationScoreRepository::class)]
  6. class RecruitEvaluationScore
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column]
  13.     private ?\DateTimeImmutable $createdAt null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?float $score null;
  16.     #[ORM\ManyToOne(inversedBy'recruitEvaluationScores')]
  17.     #[ORM\JoinColumn(nullablefalseonDelete'CASCADE')]
  18.     private ?User $user null;
  19.     #[ORM\ManyToOne(inversedBy'recruitEvaluationScores')]
  20.     #[ORM\JoinColumn(nullablefalseonDelete'CASCADE')]
  21.     private ?RecruitApplication $application null;
  22.     #[ORM\ManyToOne(inversedBy'recruitEvaluationScores')]
  23.     #[ORM\JoinColumn(nullablefalseonDelete'CASCADE')]
  24.     private ?RecruitVacancyEvaluationSkill $vacancyEvaluationSkill null;
  25.     public function getId(): ?int
  26.     {
  27.         return $this->id;
  28.     }
  29.     public function getCreatedAt(): ?\DateTimeImmutable
  30.     {
  31.         return $this->createdAt;
  32.     }
  33.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  34.     {
  35.         $this->createdAt $createdAt;
  36.         return $this;
  37.     }
  38.     public function getScore(): ?float
  39.     {
  40.         return $this->score;
  41.     }
  42.     public function setScore(?float $score): self
  43.     {
  44.         $this->score $score;
  45.         return $this;
  46.     }
  47.     public function getUser(): ?User
  48.     {
  49.         return $this->user;
  50.     }
  51.     public function setUser(?User $user): self
  52.     {
  53.         $this->user $user;
  54.         return $this;
  55.     }
  56.     public function getApplication(): ?RecruitApplication
  57.     {
  58.         return $this->application;
  59.     }
  60.     public function setApplication(?RecruitApplication $application): self
  61.     {
  62.         $this->application $application;
  63.         return $this;
  64.     }
  65.     public function getVacancyEvaluationSkill(): ?RecruitVacancyEvaluationSkill
  66.     {
  67.         return $this->vacancyEvaluationSkill;
  68.     }
  69.     public function setVacancyEvaluationSkill(?RecruitVacancyEvaluationSkill $vacancyEvaluationSkill): self
  70.     {
  71.         $this->vacancyEvaluationSkill $vacancyEvaluationSkill;
  72.         return $this;
  73.     }
  74. }