EntityCAttendance.php 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCAttendance
  5. *
  6. * @Table(name="c_attendance")
  7. * @Entity
  8. */
  9. class EntityCAttendance
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="name", type="text", precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $name;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $description;
  39. /**
  40. * @var boolean
  41. *
  42. * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $active;
  45. /**
  46. * @var string
  47. *
  48. * @Column(name="attendance_qualify_title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $attendanceQualifyTitle;
  51. /**
  52. * @var integer
  53. *
  54. * @Column(name="attendance_qualify_max", type="integer", precision=0, scale=0, nullable=false, unique=false)
  55. */
  56. private $attendanceQualifyMax;
  57. /**
  58. * @var float
  59. *
  60. * @Column(name="attendance_weight", type="float", precision=0, scale=0, nullable=false, unique=false)
  61. */
  62. private $attendanceWeight;
  63. /**
  64. * @var integer
  65. *
  66. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  67. */
  68. private $sessionId;
  69. /**
  70. * @var integer
  71. *
  72. * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
  73. */
  74. private $locked;
  75. /**
  76. * Set cId
  77. *
  78. * @param integer $cId
  79. * @return EntityCAttendance
  80. */
  81. public function setCId($cId)
  82. {
  83. $this->cId = $cId;
  84. return $this;
  85. }
  86. /**
  87. * Get cId
  88. *
  89. * @return integer
  90. */
  91. public function getCId()
  92. {
  93. return $this->cId;
  94. }
  95. /**
  96. * Set id
  97. *
  98. * @param integer $id
  99. * @return EntityCAttendance
  100. */
  101. public function setId($id)
  102. {
  103. $this->id = $id;
  104. return $this;
  105. }
  106. /**
  107. * Get id
  108. *
  109. * @return integer
  110. */
  111. public function getId()
  112. {
  113. return $this->id;
  114. }
  115. /**
  116. * Set name
  117. *
  118. * @param string $name
  119. * @return EntityCAttendance
  120. */
  121. public function setName($name)
  122. {
  123. $this->name = $name;
  124. return $this;
  125. }
  126. /**
  127. * Get name
  128. *
  129. * @return string
  130. */
  131. public function getName()
  132. {
  133. return $this->name;
  134. }
  135. /**
  136. * Set description
  137. *
  138. * @param string $description
  139. * @return EntityCAttendance
  140. */
  141. public function setDescription($description)
  142. {
  143. $this->description = $description;
  144. return $this;
  145. }
  146. /**
  147. * Get description
  148. *
  149. * @return string
  150. */
  151. public function getDescription()
  152. {
  153. return $this->description;
  154. }
  155. /**
  156. * Set active
  157. *
  158. * @param boolean $active
  159. * @return EntityCAttendance
  160. */
  161. public function setActive($active)
  162. {
  163. $this->active = $active;
  164. return $this;
  165. }
  166. /**
  167. * Get active
  168. *
  169. * @return boolean
  170. */
  171. public function getActive()
  172. {
  173. return $this->active;
  174. }
  175. /**
  176. * Set attendanceQualifyTitle
  177. *
  178. * @param string $attendanceQualifyTitle
  179. * @return EntityCAttendance
  180. */
  181. public function setAttendanceQualifyTitle($attendanceQualifyTitle)
  182. {
  183. $this->attendanceQualifyTitle = $attendanceQualifyTitle;
  184. return $this;
  185. }
  186. /**
  187. * Get attendanceQualifyTitle
  188. *
  189. * @return string
  190. */
  191. public function getAttendanceQualifyTitle()
  192. {
  193. return $this->attendanceQualifyTitle;
  194. }
  195. /**
  196. * Set attendanceQualifyMax
  197. *
  198. * @param integer $attendanceQualifyMax
  199. * @return EntityCAttendance
  200. */
  201. public function setAttendanceQualifyMax($attendanceQualifyMax)
  202. {
  203. $this->attendanceQualifyMax = $attendanceQualifyMax;
  204. return $this;
  205. }
  206. /**
  207. * Get attendanceQualifyMax
  208. *
  209. * @return integer
  210. */
  211. public function getAttendanceQualifyMax()
  212. {
  213. return $this->attendanceQualifyMax;
  214. }
  215. /**
  216. * Set attendanceWeight
  217. *
  218. * @param float $attendanceWeight
  219. * @return EntityCAttendance
  220. */
  221. public function setAttendanceWeight($attendanceWeight)
  222. {
  223. $this->attendanceWeight = $attendanceWeight;
  224. return $this;
  225. }
  226. /**
  227. * Get attendanceWeight
  228. *
  229. * @return float
  230. */
  231. public function getAttendanceWeight()
  232. {
  233. return $this->attendanceWeight;
  234. }
  235. /**
  236. * Set sessionId
  237. *
  238. * @param integer $sessionId
  239. * @return EntityCAttendance
  240. */
  241. public function setSessionId($sessionId)
  242. {
  243. $this->sessionId = $sessionId;
  244. return $this;
  245. }
  246. /**
  247. * Get sessionId
  248. *
  249. * @return integer
  250. */
  251. public function getSessionId()
  252. {
  253. return $this->sessionId;
  254. }
  255. /**
  256. * Set locked
  257. *
  258. * @param integer $locked
  259. * @return EntityCAttendance
  260. */
  261. public function setLocked($locked)
  262. {
  263. $this->locked = $locked;
  264. return $this;
  265. }
  266. /**
  267. * Get locked
  268. *
  269. * @return integer
  270. */
  271. public function getLocked()
  272. {
  273. return $this->locked;
  274. }
  275. }