userinfo_def.class.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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 UserinfoDef extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\UserinfoDefRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UserinfoDefRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\UserinfoDef
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var string $title
  33. */
  34. protected $title;
  35. /**
  36. * @var text $comment
  37. */
  38. protected $comment;
  39. /**
  40. * @var boolean $line_count
  41. */
  42. protected $line_count;
  43. /**
  44. * @var boolean $rank
  45. */
  46. protected $rank;
  47. /**
  48. * Set c_id
  49. *
  50. * @param integer $value
  51. * @return UserinfoDef
  52. */
  53. public function set_c_id($value)
  54. {
  55. $this->c_id = $value;
  56. return $this;
  57. }
  58. /**
  59. * Get c_id
  60. *
  61. * @return integer
  62. */
  63. public function get_c_id()
  64. {
  65. return $this->c_id;
  66. }
  67. /**
  68. * Set id
  69. *
  70. * @param integer $value
  71. * @return UserinfoDef
  72. */
  73. public function set_id($value)
  74. {
  75. $this->id = $value;
  76. return $this;
  77. }
  78. /**
  79. * Get id
  80. *
  81. * @return integer
  82. */
  83. public function get_id()
  84. {
  85. return $this->id;
  86. }
  87. /**
  88. * Set title
  89. *
  90. * @param string $value
  91. * @return UserinfoDef
  92. */
  93. public function set_title($value)
  94. {
  95. $this->title = $value;
  96. return $this;
  97. }
  98. /**
  99. * Get title
  100. *
  101. * @return string
  102. */
  103. public function get_title()
  104. {
  105. return $this->title;
  106. }
  107. /**
  108. * Set comment
  109. *
  110. * @param text $value
  111. * @return UserinfoDef
  112. */
  113. public function set_comment($value)
  114. {
  115. $this->comment = $value;
  116. return $this;
  117. }
  118. /**
  119. * Get comment
  120. *
  121. * @return text
  122. */
  123. public function get_comment()
  124. {
  125. return $this->comment;
  126. }
  127. /**
  128. * Set line_count
  129. *
  130. * @param boolean $value
  131. * @return UserinfoDef
  132. */
  133. public function set_line_count($value)
  134. {
  135. $this->line_count = $value;
  136. return $this;
  137. }
  138. /**
  139. * Get line_count
  140. *
  141. * @return boolean
  142. */
  143. public function get_line_count()
  144. {
  145. return $this->line_count;
  146. }
  147. /**
  148. * Set rank
  149. *
  150. * @param boolean $value
  151. * @return UserinfoDef
  152. */
  153. public function set_rank($value)
  154. {
  155. $this->rank = $value;
  156. return $this;
  157. }
  158. /**
  159. * Get rank
  160. *
  161. * @return boolean
  162. */
  163. public function get_rank()
  164. {
  165. return $this->rank;
  166. }
  167. }