package com.ghy.payment.domain;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * 退款记录
 */
@Data
public class ReverseRecord {
    private String id;
    private Long deptId;
    private String status;
    @JSONField(name = "order_no")
    private String orderNo;
    @JSONField(name = "payment_id")
    private String paymentId;
    /**
     * 本次撤销金额
     */
    @JSONField(name = "reverse_amt")
    private String reverseAmt;
    /**
     * 原支付对象已撤销金额，包括已撤销完成金额和撤销处理中的金额
     */
    @JSONField(name = "reversed_amt")
    private String reversedAmt;
    /**
     * 当前支付对象已确认金额
     */
    @JSONField(name = "confirmed_amt")
    private String confirmedAmt;
    /**
     * 当前支付确认对象已退款金额，包括已退款完成金额和退款处理中的金额
     */
    @JSONField(name = "refunded_amt")
    private String refundedAmt;
    @JSONField(name = "error_code")
    private String errorCode;
    @JSONField(name = "error_msg")
    private String errorMsg;
    @JSONField(name = "error_type")
    private String errorType;
    @JSONField(name = "created_time")
    private String createdTime;
    private Date createTime;
}
