CurriculumRelUser.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * CurriculumRelUser
  6. *
  7. * @ORM\Table(name="curriculum_rel_user")
  8. * @ORM\Entity
  9. */
  10. class CurriculumRelUser
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  24. */
  25. private $categoryId;
  26. /**
  27. * @var integer
  28. *
  29. * @ORM\Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  30. */
  31. private $userId;
  32. /**
  33. * @var integer
  34. *
  35. * @ORM\Column(name="score", type="integer", precision=0, scale=0, nullable=false, unique=false)
  36. */
  37. private $score;
  38. /**
  39. * Get id
  40. *
  41. * @return integer
  42. */
  43. public function getId()
  44. {
  45. return $this->id;
  46. }
  47. /**
  48. * Set categoryId
  49. *
  50. * @param integer $categoryId
  51. * @return CurriculumRelUser
  52. */
  53. public function setCategoryId($categoryId)
  54. {
  55. $this->categoryId = $categoryId;
  56. return $this;
  57. }
  58. /**
  59. * Get categoryId
  60. *
  61. * @return integer
  62. */
  63. public function getCategoryId()
  64. {
  65. return $this->categoryId;
  66. }
  67. /**
  68. * Set userId
  69. *
  70. * @param integer $userId
  71. * @return CurriculumRelUser
  72. */
  73. public function setUserId($userId)
  74. {
  75. $this->userId = $userId;
  76. return $this;
  77. }
  78. /**
  79. * Get userId
  80. *
  81. * @return integer
  82. */
  83. public function getUserId()
  84. {
  85. return $this->userId;
  86. }
  87. /**
  88. * Set score
  89. *
  90. * @param integer $score
  91. * @return CurriculumRelUser
  92. */
  93. public function setScore($score)
  94. {
  95. $this->score = $score;
  96. return $this;
  97. }
  98. /**
  99. * Get score
  100. *
  101. * @return integer
  102. */
  103. public function getScore()
  104. {
  105. return $this->score;
  106. }
  107. }