package com.yc.ship.module.trade.api.dto;

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;


@Schema(description = "订单转交请求vo")
@Data
@Accessors(chain = true)
public class TradeTransferReqDTO {

    @Schema(description = "订单ID", example = "")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @Schema(description = "分销商ID", example = "")
    @NotNull(message = "分销商ID不能为空")
    private Long distributorId;

    @Schema(description = "分销商名称", example = "")
    @NotNull(message = "分销商名称不能为空")
    private String distributorName;

    @Schema(description = "转交金额", example = "")
    @NotNull(message = "转交金额不能为空")
    private BigDecimal transAmount;

    @Schema(description = "规格单价明细", example = "")
    @NotNull(message = "规格单价明细不能为空")
    private List<TradeTransferSpecDTO> specPrices;

}

