Commit 79a28254 authored by macro's avatar macro
Browse files

Update PmsProductCategoryParam.java

parent 974a1224
......@@ -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;
@ApiModelProperty("是否在导航栏显示")
@FlagValidator(value = {"0","1"},message = "状态只能为0或1")
@ApiModelProperty("是否在导航栏显示")
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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment