Task.php 486 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace app\admin\model\teacher;
  3. use think\Model;
  4. use traits\model\SoftDelete;
  5. class Task extends Model
  6. {
  7. use SoftDelete;
  8. // 表名
  9. protected $name = 'sim_task';
  10. // 自动写入时间戳字段
  11. protected $autoWriteTimestamp = false;
  12. // 定义时间戳字段名
  13. protected $createTime = false;
  14. protected $updateTime = false;
  15. protected $deleteTime = false;
  16. // 追加属性
  17. protected $append = [
  18. ];
  19. }