session_rel_course.class.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 SessionRelCourse extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SessionRelCourseRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SessionRelCourseRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SessionRelCourse
  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 smallint $nbr_users
  33. */
  34. protected $nbr_users;
  35. /**
  36. * Set id_session
  37. *
  38. * @param smallint $value
  39. * @return SessionRelCourse
  40. */
  41. public function set_id_session($value)
  42. {
  43. $this->id_session = $value;
  44. return $this;
  45. }
  46. /**
  47. * Get id_session
  48. *
  49. * @return smallint
  50. */
  51. public function get_id_session()
  52. {
  53. return $this->id_session;
  54. }
  55. /**
  56. * Set course_code
  57. *
  58. * @param string $value
  59. * @return SessionRelCourse
  60. */
  61. public function set_course_code($value)
  62. {
  63. $this->course_code = $value;
  64. return $this;
  65. }
  66. /**
  67. * Get course_code
  68. *
  69. * @return string
  70. */
  71. public function get_course_code()
  72. {
  73. return $this->course_code;
  74. }
  75. /**
  76. * Set nbr_users
  77. *
  78. * @param smallint $value
  79. * @return SessionRelCourse
  80. */
  81. public function set_nbr_users($value)
  82. {
  83. $this->nbr_users = $value;
  84. return $this;
  85. }
  86. /**
  87. * Get nbr_users
  88. *
  89. * @return smallint
  90. */
  91. public function get_nbr_users()
  92. {
  93. return $this->nbr_users;
  94. }
  95. }