package com.xzx.gc.model.admin;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 系统菜单
|
*/
|
@Data
|
public class CoreMenuModel implements Serializable {
|
|
public static final String TYPE_SYSTEM = "MENU_S";
|
public static final String TYPE_NAV = "MENU_N";
|
public static final String TYPE_MENUITEM = "MENU_M";
|
|
Long id;
|
|
//创建时间
|
@ApiModelProperty(value="创建时间",required=true)
|
Date createTime;
|
|
//菜单代码
|
@ApiModelProperty(value="菜单代码",required=true)
|
String code;
|
|
//功能id
|
@ApiModelProperty(value="功能id",required=true)
|
Long functionId;
|
|
//类型 /*1 系统 2 导航 3 菜单项(与功能点有关)*/
|
@ApiModelProperty(value="类型 1 系统 2 导航 3 菜单项(与功能点有关)",required=true)
|
String type;
|
|
//菜单名称
|
@ApiModelProperty(value="菜单名称",required=true)
|
String name;
|
|
//上层菜单id
|
@ApiModelProperty(value="上层菜单id",required=true)
|
Long parentMenuId;
|
|
//排序
|
@ApiModelProperty(value="排序",required=true)
|
Integer seq;
|
@ApiModelProperty(value="图标地址",required=true)
|
String icon;
|
@ApiModelProperty(value="角色Id",required=true)
|
Long roleId;
|
@ApiModelProperty(value="菜单Id多个用逗号隔开",required=true)
|
String ids;
|
|
public CoreMenuModel() {
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public Long getFunctionId() {
|
return functionId;
|
}
|
|
public void setFunctionId(Long functionId) {
|
this.functionId = functionId;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
|
public Integer getSeq() {
|
return seq;
|
}
|
|
public void setSeq(Integer seq) {
|
this.seq = seq;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getParentMenuId() {
|
return parentMenuId;
|
}
|
|
public void setParentMenuId(Long parentMenuId) {
|
this.parentMenuId = parentMenuId;
|
}
|
}
|