refactor: 修改user相关模型名称

This commit is contained in:
2025-02-25 15:23:05 +08:00
parent 8b9f513e28
commit 6e1691d8bc
7 changed files with 24 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* @mixin \think\Model
*/
class SysUserLoginLogBaseModel extends Model
{
// 表名
protected $name = 'sys_user_login_log';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'user_id' => 'int',
'ip' => 'string',
'user_agent' => 'string',
'message' => 'string',
'status' => 'int',
'created_at' => 'datetime',
];
}