<?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',
    ];
}
