package com.gkhy.testFourierSpecialGasMonitor.domain.sysAdmin.entity;
|
|
import javax.persistence.*;
|
import java.time.LocalDateTime;
|
|
@Entity
|
@Table(name = "sys_menu_item")
|
public class MenuItem {
|
|
//主键
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
private Long id;
|
|
//菜单级别
|
@Column
|
private Integer level;
|
|
//父级菜单
|
@Column
|
private Long parentId;
|
|
//删除标识
|
@Column
|
private Byte del;
|
|
//类型:公共|私有
|
@Column
|
private Byte type;
|
|
//菜单项显示标题
|
@Column
|
private String title;
|
|
@Column
|
private Byte priority;
|
|
@Column
|
private String component;
|
|
//菜单项描述信息
|
@Column
|
private String descInfo;
|
|
//菜单项名称
|
@Column
|
private String name;
|
|
//路径
|
@Column
|
private String path;
|
|
//重定向路径
|
@Column
|
private String redirect;
|
|
//
|
@Column
|
private boolean visiable;
|
|
@Column
|
private Boolean aliveable;
|
|
@Column
|
private Boolean affixable;
|
|
@Column
|
private Boolean iframeable;
|
|
@Column
|
private Boolean publicable;
|
|
|
//
|
@Column
|
private String icon;
|
|
@Column
|
private String link;
|
|
//
|
@Column
|
private LocalDateTime gmtCreate;
|
|
//
|
@Column
|
private LocalDateTime gmtModified;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Integer getLevel() {
|
return level;
|
}
|
|
public void setLevel(Integer level) {
|
this.level = level;
|
}
|
|
public Long getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public Byte getDel() {
|
return del;
|
}
|
|
public void setDel(Byte del) {
|
this.del = del;
|
}
|
|
public void setType(Byte type) {
|
this.type = type;
|
}
|
|
public byte getType() {
|
return type;
|
}
|
|
public void setType(byte type) {
|
this.type = type;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getDescInfo() {
|
return descInfo;
|
}
|
|
public void setDescInfo(String descInfo) {
|
this.descInfo = descInfo;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getPath() {
|
return path;
|
}
|
|
public void setPath(String path) {
|
this.path = path;
|
}
|
|
public String getRedirect() {
|
return redirect;
|
}
|
|
public void setRedirect(String redirect) {
|
this.redirect = redirect;
|
}
|
|
public boolean isVisiable() {
|
return visiable;
|
}
|
|
public void setVisiable(boolean visiable) {
|
this.visiable = visiable;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public String getLink() {
|
return link;
|
}
|
|
public void setLink(String link) {
|
this.link = link;
|
}
|
|
public LocalDateTime getGmtCreate() {
|
return gmtCreate;
|
}
|
|
public void setGmtCreate(LocalDateTime gmtCreate) {
|
this.gmtCreate = gmtCreate;
|
}
|
|
public LocalDateTime getGmtModified() {
|
return gmtModified;
|
}
|
|
public void setGmtModified(LocalDateTime gmtModified) {
|
this.gmtModified = gmtModified;
|
}
|
|
public Byte getPriority() {
|
return priority;
|
}
|
|
public void setPriority(Byte priority) {
|
this.priority = priority;
|
}
|
|
|
public String getComponent() {
|
return component;
|
}
|
|
public void setComponent(String component) {
|
this.component = component;
|
}
|
|
public Boolean getAliveable() {
|
return aliveable;
|
}
|
|
public void setAliveable(Boolean aliveable) {
|
this.aliveable = aliveable;
|
}
|
|
public Boolean getAffixable() {
|
return affixable;
|
}
|
|
public void setAffixable(Boolean affixable) {
|
this.affixable = affixable;
|
}
|
|
public Boolean getIframeable() {
|
return iframeable;
|
}
|
|
public void setIframeable(Boolean iframeable) {
|
this.iframeable = iframeable;
|
}
|
|
public Boolean getPublicable() {
|
return publicable;
|
}
|
|
public void setPublicable(Boolean publicable) {
|
this.publicable = publicable;
|
}
|
}
|