Skip to content

Commit

Permalink
Update PmsProductAttributeParam.java
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozheng committed Sep 15, 2020
1 parent 3fa6702 commit 79e9c5e
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@
@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"})
@ApiModelProperty("分类筛选样式:0->普通;1->颜色")
private Integer filterType;
@ApiModelProperty("检索类型;0->不需要进行检索;1->关键字检索;2->范围检索")
@FlagValidator({"0","1","2"})
@ApiModelProperty("检索类型;0->不需要进行检索;1->关键字检索;2->范围检索")
private Integer searchType;
@ApiModelProperty("相同属性产品是否关联;0->不关联;1->关联")
@FlagValidator({"0","1"})
@ApiModelProperty("相同属性产品是否关联;0->不关联;1->关联")
private Integer relatedStatus;
@ApiModelProperty("是否支持手动新增;0->不支持;1->支持")
@FlagValidator({"0","1"})
@ApiModelProperty("是否支持手动新增;0->不支持;1->支持")
private Integer handAddStatus;
@ApiModelProperty("属性的类型;0->规格;1->参数")
@FlagValidator({"0","1"})
@ApiModelProperty("属性的类型;0->规格;1->参数")
private Integer type;
}

0 comments on commit 79e9c5e

Please sign in to comment.