|
@@ -14,21 +14,20 @@ import javax.validation.constraints.NotEmpty;
|
|
|
@Data
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
public class PmsProductAttributeParam {
|
|
|
+ @NotEmpty
|
|
|
@ApiModelProperty("属性分类ID")
|
|
|
- @NotEmpty(message = "属性分类不能为空")
|
|
|
private Long productAttributeCategoryId;
|
|
|
+ @NotEmpty
|
|
|
@ApiModelProperty("属性名称")
|
|
|
- @NotEmpty(message = "属性名称不能为空")
|
|
|
private String name;
|
|
|
- @ApiModelProperty("属性选择类型:0->唯一;1->单选;2->多选")
|
|
|
@FlagValidator({"0","1","2"})
|
|
|
+ @ApiModelProperty("属性选择类型:0->唯一;1->单选;2->多选")
|
|
|
private Integer selectType;
|
|
|
- @ApiModelProperty("属性录入方式:0->手工录入;1->从列表中选取")
|
|
|
@FlagValidator({"0","1"})
|
|
|
+ @ApiModelProperty("属性录入方式:0->手工录入;1->从列表中选取")
|
|
|
private Integer inputType;
|
|
|
@ApiModelProperty("可选值列表,以逗号隔开")
|
|
|
private String inputList;
|
|
|
-
|
|
|
private Integer sort;
|
|
|
@ApiModelProperty("分类筛选样式:0->普通;1->颜色")
|
|
|
@FlagValidator({"0","1"})
|