<?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="generator.mapper.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="productLaunchBizId" column="product_launch_biz_id" />
        <result property="productLaunchName" column="product_launch_name" />
        <result property="paymentFrequency" column="payment_frequency" />
        <result property="guaranteePeriod" column="guarantee_period" />
        <result property="policyCurrency" column="policy_currency" />
        <result property="issueNumber" column="issue_number" />
        <result property="eachIssuePremium" column="each_issue_premium" />
        <result property="sumInsured" column="sum_insured" />
        <result property="protectionLevel" column="protection_level" />
        <result property="guaranteeRegion" column="guarantee_region" />
        <result property="deductibles" column="deductibles" />
        <result property="additionalSafeguards" column="additional_safeguards" />
        <result property="policyLevy" column="policy_levy" />
        <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,product_launch_biz_id,
        product_launch_name,payment_frequency,guarantee_period,policy_currency,issue_number,
        each_issue_premium,sum_insured,protection_level,guarantee_region,deductibles,
        additional_safeguards,policy_levy,remark,is_deleted,creator_id,
        updater_id,create_time,update_time
    </sql>
</mapper>
