<?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.yd.csf.service.dao.PolicySecondHolderMapper">

    <resultMap id="BaseResultMap" type="com.yd.csf.service.model.PolicySecondHolder">
            <id property="id" column="id" />
            <result property="policySecondHolderBizId" column="policy_second_holder_biz_id" />
            <result property="policyBizId" column="policy_biz_id" />
            <result property="policyNo" column="policy_no" />
            <result property="insurantRel" column="insurant_rel" />
            <result property="name" column="name" />
            <result property="nameEn" column="name_en" />
            <result property="gender" column="gender" />
            <result property="documentType" column="document_type" />
            <result property="idNumber" column="id_number" />
            <result property="passportNumber" column="passport_number" />
            <result property="birthTime" column="birth_time" />
            <result property="age" column="age" />
            <result property="remark" column="remark" />
            <result property="isDeleted" column="is_deleted" />
            <result property="creatorId" column="creator_id" />
            <result property="updaterId" column="updater_id" />
            <result property="createTime" column="create_time" />
            <result property="updateTime" column="update_time" />
    </resultMap>

    <sql id="Base_Column_List">
        id,policy_second_holder_biz_id,policy_biz_id,policy_no,insurant_rel,name,
        name_en,gender,document_type,id_number,passport_number,
        birth_time,age,remark,is_deleted,creator_id,
        updater_id,create_time,update_time
    </sql>
</mapper>
