package cn.com.goldenwater.dcproj.param; import cn.com.goldenwater.core.param.PageParam; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiParam; import java.io.Serializable; /** * MenuParam * * @author lune * @date 2018-2-13 */ public class MenuParam extends PageParam implements Serializable { //font awesome名称或图片URL @ApiModelProperty(value = "font awesome名称或图片URL(长度:256,可为空:Y)", notes = "font awesome名称或图片URL") private String icon; //ID @ApiModelProperty(value = "ID(长度:64,可为空:N)", notes = "ID", required = true) private String id; //权限ID @ApiModelProperty(value = "权限ID(长度:64,可为空:Y)", notes = "权限ID") private String privId; //菜单名称 @ApiModelProperty(value = "菜单名称(长度:256,可为空:N)", notes = "菜单名称", required = true) private String menuName; //几级菜单,1,2,3等 @ApiModelProperty(value = "几级菜单,1,2,3等(精度:5,可为空:N,默认值:0 )", notes = "几级菜单,1,2,3等", required = true) private Long sortLevel; //排序字段 @ApiModelProperty(value = "排序字段(精度:5,可为空:Y)", notes = "排序字段") private Long sequence; //父菜单ID @ApiModelProperty(value = "父菜单ID(长度:64,可为空:Y)", notes = "父菜单ID") private String parentId; //超链接 @ApiModelProperty(value = "超链接(长度:1,024,可为空:Y)", notes = "超链接") private String href; @ApiModelProperty(value = "对应权限url") private String privUri; @ApiModelProperty(value = "对应权限叶子节点标识") private boolean flagLeaf; @ApiModelProperty("0,其他,1代表督查,2代表稽察,无值标识所有菜单") private String ownApp; public String getOwnApp() { return ownApp; } public void setOwnApp(String ownApp) { this.ownApp = ownApp; } public Long getSequence() { return sequence; } public String getPrivUri() { return privUri; } public void setPrivUri(String privUri) { this.privUri = privUri; } public boolean isFlagLeaf() { return flagLeaf; } public void setFlagLeaf(boolean flagLeaf) { this.flagLeaf = flagLeaf; } public void setSequence(Long sequence) { this.sequence = sequence; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getPrivId() { return privId; } public void setPrivId(String privId) { this.privId = privId; } public String getParentId() { return parentId; } public void setParentId(String parentId) { this.parentId = parentId; } public String getMenuName() { return menuName; } public void setMenuName(String menuName) { this.menuName = menuName; } public Long getSortLevel() { return sortLevel; } public void setSortLevel(Long sortLevel) { this.sortLevel = sortLevel; } public String getHref() { return href; } public void setHref(String href) { this.href = href; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } }