src/Entity/Notation.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\NotationRepository")
  6.  */
  7. class Notation
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="decimal", precision=5, scale=2, nullable=true)
  17.      */
  18.     private $globalNote;
  19.     /**
  20.      * @ORM\Column(type="integer", nullable=true)
  21.      */
  22.     private $numberNotation;
  23.    
  24.     /**
  25.      * @ORM\Column(type="decimal", precision=5, scale=2, nullable=true)
  26.      */
  27.     private $totalNotation;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getGlobalNote(): ?string
  33.     {
  34.         return $this->globalNote;
  35.     }
  36.     public function setGlobalNote(?string $globalNote): self
  37.     {
  38.         $this->globalNote $globalNote;
  39.         return $this;
  40.     }
  41.     public function getNumberNotation(): ?int
  42.     {
  43.         return $this->numberNotation;
  44.     }
  45.     public function setNumberNotation(?int $numberNotation): self
  46.     {
  47.         $this->numberNotation $numberNotation;
  48.         return $this;
  49.     }
  50.     
  51.     public function getTotalNotation(): ?string
  52.     {
  53.         return $this->totalNotation;
  54.     }
  55.     public function setTotalNotation(?string $totalNotation): self
  56.     {
  57.         $this->totalNotation $totalNotation;
  58.         return $this;
  59.     }
  60. }