attendance_result.class.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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 AttendanceResult extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\AttendanceResultRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\AttendanceResultRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\AttendanceResult
  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 integer $user_id
  33. */
  34. protected $user_id;
  35. /**
  36. * @var integer $attendance_id
  37. */
  38. protected $attendance_id;
  39. /**
  40. * @var integer $score
  41. */
  42. protected $score;
  43. /**
  44. * Set c_id
  45. *
  46. * @param integer $value
  47. * @return AttendanceResult
  48. */
  49. public function set_c_id($value)
  50. {
  51. $this->c_id = $value;
  52. return $this;
  53. }
  54. /**
  55. * Get c_id
  56. *
  57. * @return integer
  58. */
  59. public function get_c_id()
  60. {
  61. return $this->c_id;
  62. }
  63. /**
  64. * Set id
  65. *
  66. * @param integer $value
  67. * @return AttendanceResult
  68. */
  69. public function set_id($value)
  70. {
  71. $this->id = $value;
  72. return $this;
  73. }
  74. /**
  75. * Get id
  76. *
  77. * @return integer
  78. */
  79. public function get_id()
  80. {
  81. return $this->id;
  82. }
  83. /**
  84. * Set user_id
  85. *
  86. * @param integer $value
  87. * @return AttendanceResult
  88. */
  89. public function set_user_id($value)
  90. {
  91. $this->user_id = $value;
  92. return $this;
  93. }
  94. /**
  95. * Get user_id
  96. *
  97. * @return integer
  98. */
  99. public function get_user_id()
  100. {
  101. return $this->user_id;
  102. }
  103. /**
  104. * Set attendance_id
  105. *
  106. * @param integer $value
  107. * @return AttendanceResult
  108. */
  109. public function set_attendance_id($value)
  110. {
  111. $this->attendance_id = $value;
  112. return $this;
  113. }
  114. /**
  115. * Get attendance_id
  116. *
  117. * @return integer
  118. */
  119. public function get_attendance_id()
  120. {
  121. return $this->attendance_id;
  122. }
  123. /**
  124. * Set score
  125. *
  126. * @param integer $value
  127. * @return AttendanceResult
  128. */
  129. public function set_score($value)
  130. {
  131. $this->score = $value;
  132. return $this;
  133. }
  134. /**
  135. * Get score
  136. *
  137. * @return integer
  138. */
  139. public function get_score()
  140. {
  141. return $this->score;
  142. }
  143. }