Reply.php 755 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. namespace We7\Table\News;
  7. class Reply extends \We7Table {
  8. protected $tableName = 'news_reply';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'rid',
  12. 'parent_id',
  13. 'title',
  14. 'author',
  15. 'description',
  16. 'thumb',
  17. 'content',
  18. 'url',
  19. 'displayorder',
  20. 'incontent',
  21. 'createtime',
  22. 'media_id',
  23. );
  24. protected $default = array(
  25. 'rid' => '',
  26. 'parent_id' => -1,
  27. 'title' => '',
  28. 'author' => '',
  29. 'description' => '',
  30. 'thumb' => '',
  31. 'content' => '',
  32. 'url' => '',
  33. 'displayorder' => '',
  34. 'incontent' => 0,
  35. 'createtime' => '',
  36. 'media_id' => '',
  37. );
  38. }