| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- package cn.com.goldenwater.dcproj.model;
- import cn.com.goldenwater.core.model.BaseBean;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- /**
- * entity:Menu
- *
- * @author lune
- * @date 2018-2-13
- */
- public class Menu extends BaseBean 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 = "父菜单")
- private String parentName;
- //超链接
- @ApiModelProperty(value = "超链接(长度:1,024,可为空:Y)", notes = "超链接")
- private String href;
- @ApiModelProperty("0,其他,1代表督查,2代表稽察。无值标识所有菜单")
- private String ownApp;
- public Menu() {
- }
- public String getOwnApp() {
- return ownApp;
- }
- public void setOwnApp(String ownApp) {
- this.ownApp = ownApp;
- }
- public String getParentName() {
- return parentName;
- }
- public void setParentName(String parentName) {
- this.parentName = parentName;
- }
- 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;
- }
- public Long getSequence() {
- return sequence;
- }
- public void setSequence(Long sequence) {
- this.sequence = sequence;
- }
- @Override
- public String toString() {
- return "Menu [" + "id=" + id + ", privId=" + privId + ", parentId=" + parentId + ", menuName=" + menuName + ", sortLevel=" + sortLevel + ", href=" + href + ", icon=" + icon + "]";
- }
- }
|