package com.gxwebsoft.shop.vo;

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

import java.math.BigDecimal;

/**
 * 订单商品信息
 * @author xm
 * @since 2025-01-12
 */
@Data
@Schema(description = "订单商品信息")
public class ShopOrderGoodsVO {

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

    @Schema(description = "商品ID")
    private Integer goodsId;

    @Schema(description = "品名")
    private String name;

    @Schema(description = "购买数量")
    private Integer totalNum;

    @Schema(description = "单价")
    private BigDecimal price;

    @Schema(description = "结算方式 10按金额 20按比率")
    private Integer commissionType;

    @Schema(description = "一级分销员佣金比例/金额")
    private BigDecimal firstMoney;

    @Schema(description = "二级分销员佣金比例/金额")
    private BigDecimal secondMoney;

    @Schema(description = "一级服务商管理津贴比例/金额")
    private BigDecimal firstDividend;

    @Schema(description = "二级服务商管理津贴比例/金额")
    private BigDecimal secondDividend;

}
