admin
2021-06-26 5d9e2fbeab87327ce11080485bf4d971f93f542a
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
package com.matrix.system.app.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * @author wzy
 * @date 2020-12-23
 **/
@ApiModel(value = "CreateOrderDto", description = "提交订单接收类")
public class CreateOrderDto {
 
    @NotNull(message = "会员不能为空")
    @ApiModelProperty(value = "会员Id", example = "361")
    private Long vipId;
 
 
    @ApiModelProperty(value = "购买商品明细")
    private List<CreateOderItemDto> items;
 
    public Long getVipId() {
        return vipId;
    }
 
    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }
 
    public List<CreateOderItemDto> getItems() {
        return items;
    }
 
    public void setItems(List<CreateOderItemDto> items) {
        this.items = items;
    }
}