skill_rel_skill.class.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class SkillRelSkill extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SkillRelSkillRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SkillRelSkillRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SkillRelSkill
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $skill_id
  29. */
  30. protected $skill_id;
  31. /**
  32. * @var integer $parent_id
  33. */
  34. protected $parent_id;
  35. /**
  36. * @var integer $relation_type
  37. */
  38. protected $relation_type;
  39. /**
  40. * @var integer $level
  41. */
  42. protected $level;
  43. /**
  44. * Get id
  45. *
  46. * @return integer
  47. */
  48. public function get_id()
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * Set skill_id
  54. *
  55. * @param integer $value
  56. * @return SkillRelSkill
  57. */
  58. public function set_skill_id($value)
  59. {
  60. $this->skill_id = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get skill_id
  65. *
  66. * @return integer
  67. */
  68. public function get_skill_id()
  69. {
  70. return $this->skill_id;
  71. }
  72. /**
  73. * Set parent_id
  74. *
  75. * @param integer $value
  76. * @return SkillRelSkill
  77. */
  78. public function set_parent_id($value)
  79. {
  80. $this->parent_id = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get parent_id
  85. *
  86. * @return integer
  87. */
  88. public function get_parent_id()
  89. {
  90. return $this->parent_id;
  91. }
  92. /**
  93. * Set relation_type
  94. *
  95. * @param integer $value
  96. * @return SkillRelSkill
  97. */
  98. public function set_relation_type($value)
  99. {
  100. $this->relation_type = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get relation_type
  105. *
  106. * @return integer
  107. */
  108. public function get_relation_type()
  109. {
  110. return $this->relation_type;
  111. }
  112. /**
  113. * Set level
  114. *
  115. * @param integer $value
  116. * @return SkillRelSkill
  117. */
  118. public function set_level($value)
  119. {
  120. $this->level = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get level
  125. *
  126. * @return integer
  127. */
  128. public function get_level()
  129. {
  130. return $this->level;
  131. }
  132. }