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