package com.ghy.common.adapay.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.huifu.adapay.model.Payment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
public class PaymentDTO extends Payment {

    /**
     * 用户账单上的商户订单号
     */
    @JSONField(name = "party_order_id")
    private String partyOrderId;

    /**
     * 当前交易状态
     */
    private String status;

    /**
     * 手续费
     */
    @JSONField(name = "fee_amt")
    private String feeAmt;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;
}
