<?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.PolicyAdditionalMapper">

    <resultMap id="BaseResultMap" type="com.yd.csf.service.model.PolicyAdditional">
            <id property="id" column="id" />
            <result property="policyAdditionalBizId" column="policy_additional_biz_id" />
            <result property="policyBizId" column="policy_biz_id" />
            <result property="policyNo" column="policy_no" />
            <result property="planBizId" column="plan_biz_id" />
            <result property="additionalProductBizId" column="additional_product_biz_id" />
            <result property="addProductName" column="add_product_name" />
            <result property="currency" column="currency" />
            <result property="premium" column="premium" />
            <result property="sumInsured" column="sum_insured" />
            <result property="guaranteeRegion" column="guarantee_region" />
            <result property="level" column="level" />
            <result property="deductibles" column="deductibles" />
            <result property="additionalSafeguards" column="additional_safeguards" />
            <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_additional_biz_id,policy_biz_id,policy_no,plan_biz_id,additional_product_biz_id,
        add_product_name,currency,premium,sum_insured,guarantee_region,
        level,deductibles,additional_safeguards,remark,is_deleted,
        creator_id,updater_id,create_time,update_time
    </sql>
</mapper>
