PlusConfig.php 461 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\api\model\service;
  3. use think\Model;
  4. use traits\model\SoftDelete;
  5. class PlusConfig extends Model
  6. {
  7. use SoftDelete;
  8. // 表名
  9. protected $name = 'service_plus_config';
  10. // 自动写入时间戳字段
  11. protected $autoWriteTimestamp = 'int';
  12. // 定义时间戳字段名
  13. protected $createTime = 'createtime';
  14. protected $updateTime = 'updatetime';
  15. protected $deleteTime = 'deletetime';
  16. }