AuthGroup.php 346 B

12345678910111213141516171819
  1. <?php
  2. namespace app\company\model;
  3. use think\Model;
  4. class AuthGroup extends Model
  5. {
  6. // 表名
  7. protected $table = 'pc_auth_group';
  8. // 开启自动写入时间戳字段
  9. protected $autoWriteTimestamp = 'int';
  10. // 定义时间戳字段名
  11. protected $createTime = 'createtime';
  12. protected $updateTime = 'updatetime';
  13. }