You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
385 B

  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. class UserRule extends Model
  5. {
  6. // 表名
  7. protected $name = 'user_rule';
  8. // 自动写入时间戳字段
  9. protected $autoWriteTimestamp = 'int';
  10. // 定义时间戳字段名
  11. protected $createTime = 'createtime';
  12. protected $updateTime = 'updatetime';
  13. // 追加属性
  14. protected $append = [
  15. ];
  16. }