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;
|
}
|
}
|