Channel.php 367 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: qisse
  5. * Date: 2017/6/27
  6. * Time: 20:02
  7. */
  8. namespace app\core\model;
  9. use think\Model;
  10. class Channel extends Model
  11. {
  12. protected $pk = 'channelID';
  13. protected $resultSetType = 'collection';
  14. protected $updateTime = 'updateTime';
  15. protected $createTime = 'addTime';
  16. protected $autoWriteTimestamp = true;
  17. }