package com.govmade.modules.system.entity; import java.util.List; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.govmade.modules.basic.entity.BaseEntity; /** * 系统管理 - 菜单设置 * * @author Fred * @email fangtaosh@qq.com * @date 2018年8月9日 */ @TableName("system_menus") public class MenuEntity extends BaseEntity<Long> { private static final long serialVersionUID = 1L; private Long pid; private String name; private String url; private String permission; private Integer type; private Integer level; private String icon; private Long moduleId; private Long weight; @TableField(exist=false) private List<MenuEntity> children; public Long getPid() { return pid; } public void setPid(Long pid) { this.pid = pid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getPermission() { return permission; } public void setPermission(String permission) { this.permission = permission; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public Integer getLevel() { return level; } public void setLevel(Integer level) { this.level = level; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public Long getModuleId() { return moduleId; } public void setModuleId(Long moduleId) { this.moduleId = moduleId; } public Long getWeight() { return weight; } public void setWeight(Long weight) { this.weight = weight; } public List<MenuEntity> getChildren() { return children; } public void setChildren(List<MenuEntity> children) { this.children = children; } }