src/Entity/Modules.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ModulesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ModulesRepository::class)
  7.  */
  8. class Modules {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\GeneratedValue
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255, nullable=true)
  17.      */
  18.     private $name;
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity=Levels::class)
  21.      */
  22.     private $level;
  23.     /**
  24.      * @ORM\Column(type="string", length=255, nullable=true)
  25.      */
  26.     private $evaluationTemplate;
  27.     /**
  28.      * @ORM\Column(type="string", length=255, nullable=true)
  29.      */
  30.     private $evaluationTemplate2;
  31.     /**
  32.      * @ORM\Column(type="integer", nullable=true)
  33.      */
  34.     private $enableShow;
  35.     /**
  36.      * @ORM\Column(type="integer", nullable=true)
  37.      */
  38.     private $thisValidateLevel;
  39.     /**
  40.      * @ORM\Column(type="decimal", precision=5, scale=2, nullable=true)
  41.      */
  42.     private $scoreMinimun;
  43.     public function getId(): ?int {
  44.         return $this->id;
  45.     }
  46.     public function getName(): ?string {
  47.         return $this->name;
  48.     }
  49.     public function setName(?string $name): self {
  50.         $this->name $name;
  51.         return $this;
  52.     }
  53.     public function getLevel(): ?Levels {
  54.         return $this->level;
  55.     }
  56.     public function setLevel(?Levels $level): self {
  57.         $this->level $level;
  58.         return $this;
  59.     }
  60.     public function getEvaluationTemplate(): ?string {
  61.         return $this->evaluationTemplate;
  62.     }
  63.     public function setEvaluationTemplate(?string $evaluationTemplate): self {
  64.         $this->evaluationTemplate $evaluationTemplate;
  65.         return $this;
  66.     }
  67.     public function getEvaluationTemplate2(): ?string {
  68.         return $this->evaluationTemplate2;
  69.     }
  70.     public function setEvaluationTemplate2(?string $evaluationTemplate2): self {
  71.         $this->evaluationTemplate2 $evaluationTemplate2;
  72.         return $this;
  73.     }
  74.     public function getEnableShow() {
  75.         return $this->enableShow;
  76.     }
  77.     public function setEnableShow($enableShow): void {
  78.         $this->enableShow $enableShow;
  79.     }
  80.     public function getScoreMinimun() {
  81.         return $this->scoreMinimun;
  82.     }
  83.     public function setScoreMinimun($scoreMinimun): void {
  84.         $this->scoreMinimun $scoreMinimun;
  85.     }
  86.     public function getThisValidateLevel() {
  87.         return $this->thisValidateLevel;
  88.     }
  89.     public function setThisValidateLevel($thisValidateLevel): void {
  90.         $this->thisValidateLevel $thisValidateLevel;
  91.     }
  92.     public function __toString() {
  93.         return $this->getName();
  94.     }
  95. }