<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~
  ~      Copyright (c) 2018-2025, hnqz All rights reserved.
  ~
  ~  Redistribution and use in source and binary forms, with or without
  ~  modification, are permitted provided that the following conditions are met:
  ~
  ~ Redistributions of source code must retain the above copyright notice,
  ~  this list of conditions and the following disclaimer.
  ~  Redistributions in binary form must reproduce the above copyright
  ~  notice, this list of conditions and the following disclaimer in the
  ~  documentation and/or other materials provided with the distribution.
  ~  Neither the name of the pig4cloud.com developer nor the names of its
  ~  contributors may be used to endorse or promote products derived from
  ~  this software without specific prior written permission.
  ~  Author: hnqz
  ~
  -->

<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

<mapper namespace="com.qunzhixinxi.hnqz.pay.mapper.PayTradeOrderMapper">

	<resultMap id="payTradeOrderMap" type="com.qunzhixinxi.hnqz.pay.entity.PayTradeOrder">
		<id property="orderId" column="order_id"/>
		<result property="channelId" column="channel_id"/>
		<result property="amount" column="amount"/>
		<result property="currency" column="currency"/>
		<result property="status" column="status"/>
		<result property="clientIp" column="client_ip"/>
		<result property="device" column="device"/>
		<result property="subject" column="subject"/>
		<result property="body" column="body"/>
		<result property="extra" column="extra"/>
		<result property="channelMchId" column="channel_mch_id"/>
		<result property="channelOrderNo" column="channel_order_no"/>
		<result property="errCode" column="err_code"/>
		<result property="errMsg" column="err_msg"/>
		<result property="param1" column="param1"/>
		<result property="param2" column="param2"/>
		<result property="notifyUrl" column="notify_url"/>
		<result property="notifyCount" column="notify_count"/>
		<result property="lastNotifyTime" column="last_notify_time"/>
		<result property="expireTime" column="expire_time"/>
		<result property="paySuccTime" column="pay_succ_time"/>
		<result property="createTime" column="create_time"/>
		<result property="updateTime" column="update_time"/>
		<result property="delFlag" column="del_flag"/>
		<result property="tenantId" column="tenant_id"/>
	</resultMap>
</mapper>
