xiaoyong931011
2022-07-27 3280d1bd977e8fb5c9c60e615612fabb7b99c3e3
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
29
30
31
32
33
34
35
36
37
38
39
40
package cc.mrbird.febs.mall.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * @author wzy
 * @date 2021-09-18
 **/
@Data
@ApiModel(value = "AddOrderDto", description = "新增订单接口参数接收类")
public class AddOrderDto {
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "地址ID", example = "1")
    private Long addressId;
 
    @ApiModelProperty(value = "提货团长特征码", example = "1")
    private String takeUniqueCode;
 
//    @ApiModelProperty(value = "配送方式 1:自提 2:快递(默认自提)", example = "1")
//    private Integer deliveryType;
 
    @ApiModelProperty(value = "订单提交类型", example = "1从购物车提交, 2从商品直接提交")
    private Integer type;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "1-普通订单/2-积分订单")
    private Integer orderType;
 
    @ApiModelProperty(value = "商品明细")
    private List<AddOrderItemDto> items;
 
}