KKSU
2024-05-11 04b73bbb2b20f0c3bef5c8ca94edf97eeb9d0994
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package cc.mrbird.febs.dapp.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
 
@Data
@ApiModel(value = "AddOrderDto", description = "新增订单接口参数接收类")
public class AddOrderDto {
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "商品ID", example = "1")
    private Long goodsId;
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "数量", example = "1")
    private Integer goodsCnt;
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "地址ID", example = "1")
    private Long addressId;
 
    @ApiModelProperty(value = "配送方式 1:快递寄送2:到店自提")
    private Integer deliverType;
 
}