package com.yc.ship.module.trade.controller.admin.order.vo.order;

import com.yc.ship.module.trade.api.dto.TradeOrderCreateReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "分销商系统交易订单创建 Request VO")
@Data
public class OtaTradeOrderCreateReqVO extends TradeOrderCreateReqDTO {

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

}
