package com.izouma.nineth.dto.pay;

import com.izouma.nineth.enums.PayStatus;
import com.izouma.nineth.enums.WithdrawStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 提现结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WithdrawResult {

    //订单号
    private String orderNo;

    //交易流水
    private String transactionNo;

    //商品标题
    private String goodsTitle;

    //订单金额
    private BigDecimal totalAmount;

    //支付状态
    private WithdrawStatus status;

    //支付时间
    private LocalDateTime payTime;

    /**
     * 订单状态描述
     */
    private String orderMsg;

    /**
     * 付款账号
     */
    private String accNo;

    /**
     * 付款人用户号
     */
    private String accLogonNo;

    /**
     * 支付平台
     */
    private String payPlatform;
}
