<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * Certificate * * @ORM\MappedSuperclass() */abstract class Certificate extends BaseEntity{ /** * @ORM\Column(type="decimal", precision=10, scale=0) */ private $minScore; /** * @ORM\Column(type="decimal", precision=10, scale=0) */ private $maxScore; /** * @ORM\Column(type="string", length=255) */ private $label; /** * @ORM\OneToOne(targetEntity=FileManager::class, cascade={"persist", "remove"}) */ private $certificate; /** * Get the value of minScore */ public function getMinScore() { return $this->minScore; } /** * Set the value of minScore * * @return self */ public function setMinScore($minScore) { $this->minScore = $minScore; return $this; } /** * Get the value of maxScore */ public function getMaxScore() { return $this->maxScore; } /** * Set the value of maxScore * * @return self */ public function setMaxScore($maxScore) { $this->maxScore = $maxScore; return $this; } /** * Get the value of label */ public function getLabel() { return $this->label; } /** * Set the value of label * * @return self */ public function setLabel($label) { $this->label = $label; return $this; } /** * Get the value of certificate */ public function getCertificate() { return $this->certificate; } /** * Set the value of certificate * * @return self */ public function setCertificate($certificate) { $this->certificate = $certificate; return $this; }}