
package com.tmerclub.cloud.supplier.dto;

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

import java.io.Serial;
import java.io.Serializable;

/**
 * 供应商钱包记录DTO
 *
 * @author lhd
 * @date 2022-03-14 17:04:32
 */
@Data
public class SupplierWalletLogDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "供应商钱包id")
    private Long walletLogId;

    @Schema(description = "供应商ID")
    private Long supplierId;

    @Schema(description = "关联订单id")
    private Long orderId;

    @Schema(description = "关联订单项id")
    private Long orderItemId;

    @Schema(description = "退款单号")
    private Long refundId;

    @Schema(description = "收支类型 0支出 1收入")
    private Integer ioType;

    @Schema(description = "金额类型 0 未结算金额 1可提现金额  2冻结金额")
    private Integer amountType;

    @Schema(description = "改变金额")
    private Long changeAmount;

    @Schema(description = "原因 0用户支付 1用户确认收货 2 用户退款申请 3 拒绝用户退款申请 4 提现申请 5 提现申请被拒绝")
    private Integer reason;

    @Schema(description = "用户金额（支付实付金额，退款实际申请金额）")
    private Long userAmount;

    @Schema(description = "平台补贴金额")
    private Long platformAmount;

    @Schema(description = "分销占用金额")
    private Long distributionAmount;

    @Schema(description = "平台佣金")
    private Long platformCommission;

    @Schema(description = "供应商优惠金额")
    private Long supplierReduceAmount;

    @Schema(description = "商品总金额")
    private Long totalAmount;

}
