Update PmsProductCategoryParam.java
This commit is contained in:
parent
974a1224b0
commit
79a28254a4
@ -18,19 +18,19 @@ import java.util.List;
|
||||
public class PmsProductCategoryParam {
|
||||
@ApiModelProperty("父分类的编号")
|
||||
private Long parentId;
|
||||
@NotEmpty
|
||||
@ApiModelProperty(value = "商品分类名称",required = true)
|
||||
@NotEmpty(message = "商品分类名称不能为空")
|
||||
private String name;
|
||||
@ApiModelProperty("分类单位")
|
||||
private String productUnit;
|
||||
@FlagValidator(value = {"0","1"},message = "状态只能为0或1")
|
||||
@ApiModelProperty("是否在导航栏显示")
|
||||
@FlagValidator(value = {"0","1"},message = "状态只能为0或1")
|
||||
private Integer navStatus;
|
||||
@ApiModelProperty("是否进行显示")
|
||||
@FlagValidator(value = {"0","1"},message = "状态只能为0或1")
|
||||
@ApiModelProperty("是否进行显示")
|
||||
private Integer showStatus;
|
||||
@Min(value = 0)
|
||||
@ApiModelProperty("排序")
|
||||
@Min(value = 0,message = "排序最小为0")
|
||||
private Integer sort;
|
||||
@ApiModelProperty("图标")
|
||||
private String icon;
|
||||
|
Loading…
x
Reference in New Issue
Block a user