<?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="cn.stylefeng.guns.sys.modular.file.mapper.SysFileInfoMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="cn.stylefeng.guns.sys.modular.file.entity.SysFileInfo">
        <id column="id" property="id" />
        <result column="file_location" property="fileLocation" />
        <result column="file_bucket" property="fileBucket" />
        <result column="file_origin_name" property="fileOriginName" />
        <result column="file_suffix" property="fileSuffix" />
        <result column="file_size_kb" property="fileSizeKb" />
        <result column="file_object_name" property="fileObjectName" />
        <result column="file_path" property="filePath" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, file_location, file_bucket, file_origin_name, file_suffix, file_size_kb, file_object_name, file_path
    </sql>

</mapper>
