<?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="shop.alien.mapper.LawyerPaymentTransactionMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="shop.alien.entity.store.LawyerPaymentTransaction">
        <id column="id" property="id" />
        <result column="consultation_order_id" property="consultationOrderId" />
        <result column="client_user_id" property="clientUserId" />
        <result column="transaction_number" property="transactionNumber" />
        <result column="transaction_amount" property="transactionAmount" />
        <result column="payment_method" property="paymentMethod" />
        <result column="transaction_status" property="transactionStatus" />
        <result column="transaction_time" property="transactionTime" />
        <result column="third_party_trade_no" property="thirdPartyTradeNo" />
        <result column="refund_amount" property="refundAmount" />
        <result column="refund_time" property="refundTime" />
        <result column="delete_flag" property="deleteFlag" />
        <result column="created_time" property="createdTime" />
        <result column="created_user_id" property="createdUserId" />
        <result column="updated_time" property="updatedTime" />
        <result column="updated_user_id" property="updatedUserId" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, consultation_order_id, client_user_id, transaction_number, transaction_amount,
        payment_method, transaction_status, transaction_time, third_party_trade_no,
        refund_amount, refund_time, delete_flag, created_time, created_user_id,
        updated_time, updated_user_id
    </sql>

</mapper>

