sys_calendar.class.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 SysCalendar extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SysCalendarRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SysCalendarRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SysCalendar
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $title
  29. */
  30. protected $title;
  31. /**
  32. * @var text $content
  33. */
  34. protected $content;
  35. /**
  36. * @var datetime $start_date
  37. */
  38. protected $start_date;
  39. /**
  40. * @var datetime $end_date
  41. */
  42. protected $end_date;
  43. /**
  44. * @var integer $access_url_id
  45. */
  46. protected $access_url_id;
  47. /**
  48. * @var integer $all_day
  49. */
  50. protected $all_day;
  51. /**
  52. * Get id
  53. *
  54. * @return integer
  55. */
  56. public function get_id()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * Set title
  62. *
  63. * @param string $value
  64. * @return SysCalendar
  65. */
  66. public function set_title($value)
  67. {
  68. $this->title = $value;
  69. return $this;
  70. }
  71. /**
  72. * Get title
  73. *
  74. * @return string
  75. */
  76. public function get_title()
  77. {
  78. return $this->title;
  79. }
  80. /**
  81. * Set content
  82. *
  83. * @param text $value
  84. * @return SysCalendar
  85. */
  86. public function set_content($value)
  87. {
  88. $this->content = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get content
  93. *
  94. * @return text
  95. */
  96. public function get_content()
  97. {
  98. return $this->content;
  99. }
  100. /**
  101. * Set start_date
  102. *
  103. * @param datetime $value
  104. * @return SysCalendar
  105. */
  106. public function set_start_date($value)
  107. {
  108. $this->start_date = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get start_date
  113. *
  114. * @return datetime
  115. */
  116. public function get_start_date()
  117. {
  118. return $this->start_date;
  119. }
  120. /**
  121. * Set end_date
  122. *
  123. * @param datetime $value
  124. * @return SysCalendar
  125. */
  126. public function set_end_date($value)
  127. {
  128. $this->end_date = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get end_date
  133. *
  134. * @return datetime
  135. */
  136. public function get_end_date()
  137. {
  138. return $this->end_date;
  139. }
  140. /**
  141. * Set access_url_id
  142. *
  143. * @param integer $value
  144. * @return SysCalendar
  145. */
  146. public function set_access_url_id($value)
  147. {
  148. $this->access_url_id = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get access_url_id
  153. *
  154. * @return integer
  155. */
  156. public function get_access_url_id()
  157. {
  158. return $this->access_url_id;
  159. }
  160. /**
  161. * Set all_day
  162. *
  163. * @param integer $value
  164. * @return SysCalendar
  165. */
  166. public function set_all_day($value)
  167. {
  168. $this->all_day = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get all_day
  173. *
  174. * @return integer
  175. */
  176. public function get_all_day()
  177. {
  178. return $this->all_day;
  179. }
  180. }