package com.yc.ship.module.trade.controller.admin.order.vo.order;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 订单支付信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderPayRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "15303")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "订单ID", example = "4078")
    @ExcelProperty("订单ID")
    private Long orderId;

    @Schema(description = "支付流水号")
    @ExcelProperty("支付流水号")
    private String paymentNo;

    @Schema(description = "支付方式", example = "2")
    @ExcelProperty("支付方式")
    private Integer paymentType;

    @Schema(description = "支付金额")
    @ExcelProperty("支付金额")
    private BigDecimal payAmount;

    @Schema(description = "商户号")
    @ExcelProperty("商户号")
    private String merchantNo;

    @Schema(description = "支付渠道", example = "27223")
    @ExcelProperty("支付渠道")
    private String channelId;

    @Schema(description = "pos机号")
    @ExcelProperty("pos机号")
    private String posNo;

    @Schema(description = "pos机输出")
    @ExcelProperty("pos机输出")
    private String posOut;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "支付状态", example = "2")
    @ExcelProperty("支付状态")
    private Integer payStatus;

    @Schema(description = "销售渠道")
    @ExcelProperty("销售渠道")
    private Integer sellMethod;

    @Schema(description = "支付时间")
    @ExcelProperty("支付时间")
    private LocalDateTime paymentDate;

    @Schema(description = "已退款金额")
    @ExcelProperty("已退款金额")
    private BigDecimal refundAmount;

    @Schema(description = "微信或支付宝平台的用户openId", example = "10338")
    @ExcelProperty("微信或支付宝平台的用户openId")
    private String openId;

    @Schema(description = "支付平台返回的支付参数")
    @ExcelProperty("支付平台返回的支付参数")
    private String payParams;

    @Schema(description = "请求参数")
    @ExcelProperty("请求参数")
    private String reqParams;

}