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

    <resultMap id="BaseResultMap" type="com.yd.csf.service.model.PolicyBeneficiary">
            <id property="id" column="id" />
            <result property="policyBeneficiaryBizId" column="policy_beneficiary_biz_id" />
            <result property="policyBizId" column="policy_biz_id" />
            <result property="policyNo" column="policy_no" />
            <result property="customerType" column="customer_type" />
            <result property="insurantRel" column="insurant_rel" />
            <result property="benefitRatio" column="benefit_ratio" />
            <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="companyName" column="company_name" />
            <result property="companyNameEn" column="company_name_en" />
            <result property="companyBusinessNo" column="company_business_no" />
            <result property="companyRegisterTime" column="company_register_time" />
            <result property="companyRegisterRegion" column="company_register_region" />
            <result property="companyMobileCode" column="company_mobile_code" />
            <result property="companyMobile" column="company_mobile" />
            <result property="companyEmail" column="company_email" />
            <result property="companyEnterAddress" column="company_enter_address" />
            <result property="mailingAddress" column="mailing_address" />
            <result property="authNameCn" column="auth_name_cn" />
            <result property="authNameEn" column="auth_name_en" />
            <result property="authProfessional" column="auth_professional" />
            <result property="authMobileCode" column="auth_mobile_code" />
            <result property="authMobile" column="auth_mobile" />
            <result property="addressList" column="address_list" />
            <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_beneficiary_biz_id,policy_biz_id,policy_no,customer_type,insurant_rel,
        benefit_ratio,name,name_en,gender,document_type,
        id_number,passport_number,birth_time,company_name,company_name_en,
        company_business_no,company_register_time,company_register_region,company_mobile_code,company_mobile,
        company_email,company_enter_address,mailing_address,auth_name_cn,auth_name_en,
        auth_professional,auth_mobile_code,auth_mobile,address_list,remark,
        is_deleted,creator_id,updater_id,create_time,update_time
    </sql>
</mapper>
