<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.system.mapper.AuthLogMapper">

	<!-- 通用查询映射结果 -->
	<resultMap id="authLogResultMap" type="org.springblade.system.pojo.entity.AuthLog">
		<id column="id" property="id"/>
		<result column="user_id" property="userId"/>
		<result column="tenant_id" property="tenantId"/>
		<result column="service_id" property="serviceId"/>
		<result column="server_ip" property="serverIp"/>
		<result column="server_host" property="serverHost"/>
		<result column="env" property="env"/>
		<result column="account" property="account"/>
		<result column="real_name" property="realName"/>
		<result column="grant_type" property="grantType"/>
		<result column="remote_ip" property="remoteIp"/>
		<result column="user_agent" property="userAgent"/>
		<result column="login_time" property="loginTime"/>
		<result column="status" property="status"/>
		<result column="is_deleted" property="isDeleted"/>
	</resultMap>

</mapper>
