| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author wzy |
| | | * @date 2021-09-18 |
| | |
| | | @ApiModel(value = "AddOrderDto", description = "新增订单接口参数接收类") |
| | | public class AddOrderDto { |
| | | |
| | | @ApiModelProperty(value = "skuID", example = "1") |
| | | private Long skuId; |
| | | @NotNull(message = "参数不能为空") |
| | | @ApiModelProperty(value = "地址ID", example = "1") |
| | | private Long addressId; |
| | | |
| | | @ApiModelProperty(value = "数量", example = "2") |
| | | private Integer cnt; |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "商品明细") |
| | | private List<AddOrderItemDto> items; |
| | | |
| | | } |