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;
import java.io.Serializable;

@ApiModel("商家端-专题商品项入参")
@Data
public class GoblinStoreMgtArtistTopicGoodsItemParams implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(required = true, value = "排序，越小越靠前")
    @NotNull(message = "商品排序不能为空")
    private Integer sort;
}
