package com.seer.teach.pay.admin.withdrawal.controller.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * PayMerchantRevenueDetail请求类
 */
@Data
@Schema(description = "商户收益明细请求参数")
public class AdminPayMerchantRevenueDetailReq {
    @Schema(description = "ID")
    private Long id;
    
    @Schema(description = "商户用户ID")
    private Long merchantUserId;
    
    @Schema(description = "订单ID")
    private String orderId;
    
    @Schema(description = "子订单ID")
    private String childOrderId;
    
    @Schema(description = "商品SKU ID")
    private String skuId;
    
    @Schema(description = "用户ID")
    private String userId;
    
    @Schema(description = "交易时间")
    private Date transactionTime;
    
    @Schema(description = "数量")
    private Integer quantity;
    
    @Schema(description = "单价")
    private BigDecimal unitPrice;
    
    @Schema(description = "折扣金额")
    private BigDecimal discountAmount;
    
    @Schema(description = "实际收益")
    private BigDecimal actualRevenue;
    
    @Schema(description = "交易状态")
    private String transactionStatus;
    
    @Schema(description = "平台费率")
    private BigDecimal platformFeeRate;
    
    @Schema(description = "平台费用")
    private BigDecimal platformFee;
    
    @Schema(description = "退款金额")
    private BigDecimal refundAmount;
    
    @Schema(description = "退款时间")
    private Date refundTime;

}