/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.webapi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lingee
 * @date 2023/9/14
 */
@Data
@ApiModel(value = "RemotePayNotify", description = "支付通知实体")
public class RemotePayNotify implements Serializable {

    private static final long serialVersionUID = 2161707957116401928L;

    @ApiModelProperty("签名")
    private String sign;

    @ApiModelProperty("随机值")
    private String nonce;

    @ApiModelProperty("商户号")
    private String mid;

    @ApiModelProperty("终端号")
    private String tid;

    @ApiModelProperty("业务类型 MINIDEFAULT")
    private String instMid;

    @ApiModelProperty("商户订单号")
    private String merOrderId;

    @ApiModelProperty("系统交易流水号")
    private String seqId;

    @ApiModelProperty("订单状态")
    private String status;

    @ApiModelProperty("渠道订单号")
    private String targetOrderId;

    @ApiModelProperty("支付渠道")
    private String targetSys;

    @ApiModelProperty("订单详情")
    private String orderDesc;

    @ApiModelProperty("订单创建时间")
    private String createTime;

    @ApiModelProperty("买家ID")
    private String buyerId;

    @ApiModelProperty("买家用户名")
    private String buyerUsername;

    @ApiModelProperty("实付金额")
    private String buyerPayAmount;

    @ApiModelProperty("订单金额")
    private String totalAmount;

    @ApiModelProperty("开票金额")
    private String invoiceAmount;

    @ApiModelProperty("实收金额")
    private String receiptAmount;

    @ApiModelProperty("支付银行信息")
    private String bankCardNo;

    @ApiModelProperty("支付渠道")
    private String billFunds;

    @ApiModelProperty("支付渠道说明")
    private String billFundsDesc;

    @ApiModelProperty("支付时间 格式yyyy-MM-dd HH:mm:ss")
    private String payTime;

    @ApiModelProperty("支付银行卡参考号")
    private String refId;

    @ApiModelProperty("结算日期 格式yyyy-MM-dd")
    private String settleDate;

    @ApiModelProperty("商品交易单号")
    private String goodsTradeNo;

    @ApiModelProperty("转接系统")
    private String connectSys;
}
