package com.liquidnet.service.goblin.param;

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class GoblinListCreateItemParam {
    @ApiModelProperty(value = "spuId",required = true)
    @NotNull(message = "spuId不能为空")
    private String spuId;
    @ApiModelProperty(value = "skuId",required = true)
    @NotNull(message = "skuId不能为空")
    private String skuId;

    @ApiModelProperty(value = "android价格",required = true)
    @NotNull(message = "price不能为空")
    private BigDecimal price;
    @ApiModelProperty(value = "库存",required = true)
    @NotNull(message = "库存不能为空")
    private Integer skuStock;
    @ApiModelProperty(value = "苹果价格",required = true)
    @NotNull(message = "苹果价格不能为空")
    private BigDecimal priceV;
    @ApiModelProperty(value = "苹果价格id",required = true)
    @NotNull(message = "苹果价格id不能为空")
    private String productId;
}
