49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?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="com.metalloop.modules.auth.mapper.SysPermissionMapper">
|
|
<resultMap id="BaseResultMap" type="com.metalloop.modules.auth.model.po.SysPermission">
|
|
<!--@mbg.generated-->
|
|
<!--@Table sys_permission-->
|
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
|
<result column="name" jdbcType="VARCHAR" property="name"/>
|
|
<result column="code" jdbcType="VARCHAR" property="code"/>
|
|
<result column="type" jdbcType="TINYINT" property="type"/>
|
|
<result column="sort" jdbcType="INTEGER" property="sort"/>
|
|
<result column="parent_id" jdbcType="BIGINT" property="parentId"/>
|
|
<result column="icon" jdbcType="VARCHAR" property="icon"/>
|
|
<result column="api_path" jdbcType="VARCHAR" property="apiPath"/>
|
|
<result column="route_path" jdbcType="VARCHAR" property="routePath"/>
|
|
<result column="component" jdbcType="VARCHAR" property="component"/>
|
|
<result column="component_name" jdbcType="VARCHAR" property="componentName"/>
|
|
<result column="description" jdbcType="VARCHAR" property="description"/>
|
|
<result column="enabled" jdbcType="TINYINT" property="enabled"/>
|
|
<result column="create_user" jdbcType="BIGINT" property="createUser"/>
|
|
<result column="update_user" jdbcType="BIGINT" property="updateUser"/>
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
<result column="data_status" jdbcType="TINYINT" property="dataStatus"/>
|
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
|
<!--@mbg.generated-->
|
|
<!--@Table sys_permission-->
|
|
id,
|
|
name,
|
|
code,
|
|
type,
|
|
sort,
|
|
parent_id,
|
|
icon,
|
|
api_path,
|
|
route_path,
|
|
component,
|
|
component_name,
|
|
description,
|
|
enabled,
|
|
create_user,
|
|
update_user,
|
|
create_time,
|
|
update_time,
|
|
data_status
|
|
</sql>
|
|
</mapper>
|