<?php
namespace App\Entity;
use App\Repository\ModulesRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ModulesRepository::class)
*/
class Modules {
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name;
/**
* @ORM\ManyToOne(targetEntity=Levels::class)
*/
private $level;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $evaluationTemplate;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $evaluationTemplate2;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $enableShow;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $thisValidateLevel;
/**
* @ORM\Column(type="decimal", precision=5, scale=2, nullable=true)
*/
private $scoreMinimun;
public function getId(): ?int {
return $this->id;
}
public function getName(): ?string {
return $this->name;
}
public function setName(?string $name): self {
$this->name = $name;
return $this;
}
public function getLevel(): ?Levels {
return $this->level;
}
public function setLevel(?Levels $level): self {
$this->level = $level;
return $this;
}
public function getEvaluationTemplate(): ?string {
return $this->evaluationTemplate;
}
public function setEvaluationTemplate(?string $evaluationTemplate): self {
$this->evaluationTemplate = $evaluationTemplate;
return $this;
}
public function getEvaluationTemplate2(): ?string {
return $this->evaluationTemplate2;
}
public function setEvaluationTemplate2(?string $evaluationTemplate2): self {
$this->evaluationTemplate2 = $evaluationTemplate2;
return $this;
}
public function getEnableShow() {
return $this->enableShow;
}
public function setEnableShow($enableShow): void {
$this->enableShow = $enableShow;
}
public function getScoreMinimun() {
return $this->scoreMinimun;
}
public function setScoreMinimun($scoreMinimun): void {
$this->scoreMinimun = $scoreMinimun;
}
public function getThisValidateLevel() {
return $this->thisValidateLevel;
}
public function setThisValidateLevel($thisValidateLevel): void {
$this->thisValidateLevel = $thisValidateLevel;
}
public function __toString() {
return $this->getName();
}
}