src/Entity/Result.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ResultRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassResultRepository::class)]
  6. class Result
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\ManyToOne(inversedBy'results')]
  13.     #[ORM\JoinColumn(nullablefalse)]
  14.     private ?Jury $jury null;
  15.     #[ORM\ManyToOne(inversedBy'results')]
  16.     #[ORM\JoinColumn(nullablefalse)]
  17.     private ?Team $team null;
  18.     #[ORM\ManyToOne(inversedBy'results')]
  19.     #[ORM\JoinColumn(nullablefalse)]
  20.     private ?Criterion $criterion null;
  21.     #[ORM\Column]
  22.     private ?float $value null;
  23.     #[ORM\ManyToOne(inversedBy'results')]
  24.     private ?MalusList $item null;
  25.     public function getId(): ?int
  26.     {
  27.         return $this->id;
  28.     }
  29.     public function getJury(): ?Jury
  30.     {
  31.         return $this->jury;
  32.     }
  33.     public function setJury(?Jury $jury): self
  34.     {
  35.         $this->jury $jury;
  36.         return $this;
  37.     }
  38.     public function getTeam(): ?Team
  39.     {
  40.         return $this->team;
  41.     }
  42.     public function setTeam(?Team $team): self
  43.     {
  44.         $this->team $team;
  45.         return $this;
  46.     }
  47.     public function getCriterion(): ?Criterion
  48.     {
  49.         return $this->criterion;
  50.     }
  51.     public function setCriterion(?Criterion $criterion): self
  52.     {
  53.         $this->criterion $criterion;
  54.         return $this;
  55.     }
  56.     public function getValue(): ?float
  57.     {
  58.         return $this->value;
  59.     }
  60.     public function setValue(float $value): self
  61.     {
  62.         $this->value $value;
  63.         return $this;
  64.     }
  65.     public function getItem(): ?MalusList
  66.     {
  67.         return $this->item;
  68.     }
  69.     public function setItem(?MalusList $item): self
  70.     {
  71.         $this->item $item;
  72.         return $this;
  73.     }
  74. }