<?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.zhentao.mapper.MatchmakerSuccessCaseUploadMapper">

    <resultMap id="BaseResultMap" type="com.zhentao.entity.MatchmakerSuccessCaseUpload">
            <id property="id" column="id" />
            <result property="matchmakerId" column="matchmaker_id" />
            <result property="maleUserId" column="male_user_id" />
            <result property="femaleUserId" column="female_user_id" />
            <result property="maleRealName" column="male_real_name" />
            <result property="femaleRealName" column="female_real_name" />
            <result property="proofImages" column="proof_images" />
            <result property="caseType" column="case_type" />
            <result property="caseDate" column="case_date" />
            <result property="auditStatus" column="audit_status" />
            <result property="auditRemark" column="audit_remark" />
            <result property="auditorId" column="auditor_id" />
            <result property="pointsReward" column="points_reward" />
            <result property="cashReward" column="cash_reward" />
            <result property="rewardStatus" column="reward_status" />
            <result property="isPublished" column="is_published" />
            <result property="publishedCaseId" column="published_case_id" />
            <result property="isRead" column="is_read" />
            <result property="createdAt" column="created_at" />
            <result property="updatedAt" column="updated_at" />
            <result property="auditedAt" column="audited_at" />
    </resultMap>

    <sql id="Base_Column_List">
        id,matchmaker_id,male_user_id,female_user_id,male_real_name,female_real_name,
        proof_images,case_type,case_date,audit_status,audit_remark,
        auditor_id,points_reward,cash_reward,reward_status,is_published,
        published_case_id,is_read,created_at,updated_at,audited_at
    </sql>
</mapper>
