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;
|
|
@Data
|
@ApiModel(value = "ApiCreateOrderDto", description = "参数")
|
public class ApiCreateOrderDto {
|
|
@NotNull(message = "活动ID不能为空")
|
@ApiModelProperty(value = "活动ID", example = "1")
|
private Long activityId;
|
|
@NotNull(message = "数量不能为空")
|
@ApiModelProperty(value = "数量", example = "1")
|
private Integer numCnt;
|
|
@NotNull(message = "报名人不能为空")
|
@ApiModelProperty(value = "报名人ID列表", example = "1")
|
private List<Long> connectIds;
|
|
}
|