package com.liquidnet.service.goblin.dto.manage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "GoblinSqbOrderParam")
@Data
public class GoblinSqbOrderParam {

    @ApiModelProperty(required = true, value = "apuId")
    @NotBlank(message = "商品不能为空")
    private String spuId;

    @ApiModelProperty(required = true, value = "skuId")
    @NotBlank(message = "商品规格不能为空")
    private String skuId;

    @ApiModelProperty(required = true, value = "购买数量")
    @NotNull(message = "购买数量不能为空")
    private Integer quantity;

    @ApiModelProperty(required = true, value = "关联演出ID")
    @NotBlank(message = "关联演出ID不能为空")
    private String performancesId;
}
