package com.gxwebsoft.shop.dto;

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

import java.util.List;

/**
 * 分销订单结算
 * @author xm
 * @since 2026-05-13
 */
@Data
@Schema(name = "ShopDealerSettlementDto", description = "分销订单结算")
public class ShopDealerSettlementDto {

    @Schema(description = "变动类型 1-操作冻结账户余额 2-操作提现账户余额【直接结算】 3-解冻 4-退款")
    private Integer type;

    @Schema(description = "资金流动类型 (10分销收入 11团队管理津贴收入 12分红收入 13现场推广收入 20提现支出 30转账支出 40转账收入 50佣金解冻 60配送奖励 70佣金退回【退单】)")
    private Integer flowType;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "描述")
    private String comments;

    @Schema(description = "分销来源")
    private Integer toUserId;

    @Schema(description = "商城ID")
    private Integer tenantId;

    @Schema(description = "明细列表")
    private List<ShopDealerSettlementItemDto> itemList;
}
