package com.gkhy.safePlatform.account.entity.user;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.gkhy.safePlatform.account.enums.MenuStatusEnum;
|
import org.springframework.data.annotation.Transient;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class MenuInfoDO implements Serializable {
|
|
private static final long serialVersionUID = 7652196442856069263L;
|
private Long id;
|
|
private String name;
|
|
private String path;
|
|
private String redirect;
|
|
private Byte priority;
|
|
private String description;
|
|
private String component;
|
|
private String title;
|
|
private String linkEnable;
|
|
private Boolean hideEnable;
|
|
private Boolean keepAliveEnable;
|
|
private Boolean affixEnable;
|
|
private Boolean iframeEnable;
|
|
private Boolean publicEnable;
|
|
private String icon;
|
|
private Byte status;
|
|
private Long parentId;
|
|
private List<RoleInfoDO> roles;
|
|
private ProjectInfoDO project;
|
|
@Transient
|
private List<MenuInfoDO> children;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
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 Byte getPriority() {
|
return priority;
|
}
|
|
public void setPriority(Byte priority) {
|
this.priority = priority;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public String getComponent() {
|
return component;
|
}
|
|
public void setComponent(String component) {
|
this.component = component;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getLinkEnable() {
|
return linkEnable;
|
}
|
|
public void setLinkEnable(String linkEnable) {
|
this.linkEnable = linkEnable;
|
}
|
|
public Boolean getHideEnable() {
|
return hideEnable;
|
}
|
|
public void setHideEnable(Boolean hideEnable) {
|
this.hideEnable = hideEnable;
|
}
|
|
public Boolean getKeepAliveEnable() {
|
return keepAliveEnable;
|
}
|
|
public void setKeepAliveEnable(Boolean keepAliveEnable) {
|
this.keepAliveEnable = keepAliveEnable;
|
}
|
|
public Boolean getAffixEnable() {
|
return affixEnable;
|
}
|
|
public void setAffixEnable(Boolean affixEnable) {
|
this.affixEnable = affixEnable;
|
}
|
|
public Boolean getIframeEnable() {
|
return iframeEnable;
|
}
|
|
public void setIframeEnable(Boolean iframeEnable) {
|
this.iframeEnable = iframeEnable;
|
}
|
|
public Boolean getPublicEnable() {
|
return publicEnable;
|
}
|
|
public void setPublicEnable(Boolean publicEnable) {
|
this.publicEnable = publicEnable;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
public Long getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public List<RoleInfoDO> getRoles() {
|
return roles;
|
}
|
|
public void setRoles(List<RoleInfoDO> roles) {
|
this.roles = roles;
|
}
|
|
public ProjectInfoDO getProject() {
|
return project;
|
}
|
|
public void setProject(ProjectInfoDO project) {
|
this.project = project;
|
}
|
|
public List<MenuInfoDO> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<MenuInfoDO> children) {
|
this.children = children;
|
}
|
}
|