<?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="jnpf.personnels.mapper.FtbPersonnelsStaffArchivesHistoryMapper">

    <resultMap id="BaseResultMap" type="jnpf.model.personnels.po.FtbPersonnelsStaffArchivesHistory">
        <id property="id" column="F_Id" jdbcType="VARCHAR"/>
        <result property="userId" column="F_UserId" jdbcType="VARCHAR"/>
        <result property="archives" column="F_Archives" jdbcType="VARCHAR"/>
        <result property="enabledMark" column="F_EnabledMark" jdbcType="INTEGER"/>
        <result property="creatorUserId" column="F_CreatorUserId" jdbcType="VARCHAR"/>
        <result property="creatorTime" column="F_CreatorTime" jdbcType="TIMESTAMP"/>
        <result property="deleteUserId" column="F_DeleteUserId" jdbcType="VARCHAR"/>
        <result property="deleteTime" column="F_DeleteTime" jdbcType="TIMESTAMP"/>
        <result property="tenantId" column="F_TenantId" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        select F_Id            as id,
               F_UserId        as userId,
               F_Archives      as archives,
               F_EnabledMark   as enabledMark,
               F_CreatorUserId as creatorUserId,
               F_CreatorTime   as creatorTime,
               F_DeleteUserId  as deleteUserId,
               F_DeleteTime    as deleteTime,
               F_TenantId      as tenantId
        from ftb_personnels_staff_archives_history
    </sql>
</mapper>
