| package cc.mrbird.febs.mall.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotNull; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2021-09-22 | 
|  **/ | 
| @Data | 
| @ApiModel(value = "AddOrderItemDto", description = "新增订单明细参数接收类") | 
| public class AddOrderItemDto { | 
|   | 
|     @NotNull(message = "参数不能为空") | 
|     @ApiModelProperty(value = "skuID", example = "1") | 
|     private Long skuId; | 
|   | 
|     @NotNull(message = "参数不能为空") | 
|     @ApiModelProperty(value = "数量", example = "2") | 
|     private Integer cnt; | 
| } |