chat_connected.class.php 3.0 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 ChatConnected extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\ChatConnectedRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ChatConnectedRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ChatConnected
  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 datetime $last_connection
  37. */
  38. protected $last_connection;
  39. /**
  40. * @var integer $session_id
  41. */
  42. protected $session_id;
  43. /**
  44. * @var integer $to_group_id
  45. */
  46. protected $to_group_id;
  47. /**
  48. * Set c_id
  49. *
  50. * @param integer $value
  51. * @return ChatConnected
  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 ChatConnected
  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 user_id
  89. *
  90. * @param integer $value
  91. * @return ChatConnected
  92. */
  93. public function set_user_id($value)
  94. {
  95. $this->user_id = $value;
  96. return $this;
  97. }
  98. /**
  99. * Get user_id
  100. *
  101. * @return integer
  102. */
  103. public function get_user_id()
  104. {
  105. return $this->user_id;
  106. }
  107. /**
  108. * Set last_connection
  109. *
  110. * @param datetime $value
  111. * @return ChatConnected
  112. */
  113. public function set_last_connection($value)
  114. {
  115. $this->last_connection = $value;
  116. return $this;
  117. }
  118. /**
  119. * Get last_connection
  120. *
  121. * @return datetime
  122. */
  123. public function get_last_connection()
  124. {
  125. return $this->last_connection;
  126. }
  127. /**
  128. * Set session_id
  129. *
  130. * @param integer $value
  131. * @return ChatConnected
  132. */
  133. public function set_session_id($value)
  134. {
  135. $this->session_id = $value;
  136. return $this;
  137. }
  138. /**
  139. * Get session_id
  140. *
  141. * @return integer
  142. */
  143. public function get_session_id()
  144. {
  145. return $this->session_id;
  146. }
  147. /**
  148. * Set to_group_id
  149. *
  150. * @param integer $value
  151. * @return ChatConnected
  152. */
  153. public function set_to_group_id($value)
  154. {
  155. $this->to_group_id = $value;
  156. return $this;
  157. }
  158. /**
  159. * Get to_group_id
  160. *
  161. * @return integer
  162. */
  163. public function get_to_group_id()
  164. {
  165. return $this->to_group_id;
  166. }
  167. }