src/Entity/Certificate.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Certificate
  6. *
  7. * @ORM\MappedSuperclass()
  8. */
  9. abstract class Certificate extends BaseEntity
  10. {
  11. /**
  12. * @ORM\Column(type="decimal", precision=10, scale=0)
  13. */
  14. private $minScore;
  15. /**
  16. * @ORM\Column(type="decimal", precision=10, scale=0)
  17. */
  18. private $maxScore;
  19. /**
  20. * @ORM\Column(type="string", length=255)
  21. */
  22. private $label;
  23. /**
  24. * @ORM\OneToOne(targetEntity=FileManager::class, cascade={"persist", "remove"})
  25. */
  26. private $certificate;
  27. /**
  28. * Get the value of minScore
  29. */
  30. public function getMinScore()
  31. {
  32. return $this->minScore;
  33. }
  34. /**
  35. * Set the value of minScore
  36. *
  37. * @return self
  38. */
  39. public function setMinScore($minScore)
  40. {
  41. $this->minScore = $minScore;
  42. return $this;
  43. }
  44. /**
  45. * Get the value of maxScore
  46. */
  47. public function getMaxScore()
  48. {
  49. return $this->maxScore;
  50. }
  51. /**
  52. * Set the value of maxScore
  53. *
  54. * @return self
  55. */
  56. public function setMaxScore($maxScore)
  57. {
  58. $this->maxScore = $maxScore;
  59. return $this;
  60. }
  61. /**
  62. * Get the value of label
  63. */
  64. public function getLabel()
  65. {
  66. return $this->label;
  67. }
  68. /**
  69. * Set the value of label
  70. *
  71. * @return self
  72. */
  73. public function setLabel($label)
  74. {
  75. $this->label = $label;
  76. return $this;
  77. }
  78. /**
  79. * Get the value of certificate
  80. */
  81. public function getCertificate()
  82. {
  83. return $this->certificate;
  84. }
  85. /**
  86. * Set the value of certificate
  87. *
  88. * @return self
  89. */
  90. public function setCertificate($certificate)
  91. {
  92. $this->certificate = $certificate;
  93. return $this;
  94. }
  95. }