From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:22:45 +0800 Subject: [PATCH] 描述 --- src/main/java/com/gk/firework/Domain/PermissionInfo.java | 273 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 273 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/PermissionInfo.java b/src/main/java/com/gk/firework/Domain/PermissionInfo.java new file mode 100644 index 0000000..2e47350 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/PermissionInfo.java @@ -0,0 +1,273 @@ +package com.gk.firework.Domain; + +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 java.io.Serializable; +import java.util.Date; + +@TableName("permission") +public class PermissionInfo implements Serializable { + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + @TableId(type = IdType.AUTO) + private Integer id; + + /** 名称 name **/ + private String name; + + /** 菜单层级 level **/ + private Integer level; + + /** 菜单标题 title **/ + private String title; + + /** 页面路径/资源链接url path **/ + private String path; + + /** 前端组件 component **/ + private String component; + + /** 图标 icon **/ + private String icon; + + /** 按钮权限类型 buttonType **/ + private String buttontype; + + /** 状态 status 是否启用 1启用 -1禁用**/ + private Integer status; + + /** 描述 description **/ + private String description; + + /** 排序 sortOrder **/ + private Double sortorder; + + /** 类型 type 1菜单 2按钮 3功能 4数据权限 **/ + private Integer type; + + /** 拓展 节点展开 前端所需 expand **/ + private Boolean expand; + + /** 是否勾选 前端所需 checked **/ + private Boolean checked; + + /** 是否选中 前端所需 selected **/ + private Boolean selected; + + /** 创建人 createdBy **/ + private String createdby; + + /** 创建时间 createdDate **/ + private Date createddate; + + /** 更新人 lastModifiedBy **/ + private String lastmodifiedby; + + /** 更新时间 lastModifiedDate **/ + private Date lastmodifieddate; + + /** 父id parentid **/ + private Integer parentid; + + /** id id **/ + public Integer getId() { + return id; + } + + /** id id **/ + public void setId(Integer id) { + this.id = id; + } + + /** 名称 name **/ + public String getName() { + return name; + } + + /** 名称 name **/ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** 级别 level **/ + public Integer getLevel() { + return level; + } + + /** 级别 level **/ + public void setLevel(Integer level) { + this.level = level; + } + + /** 名称 title **/ + public String getTitle() { + return title; + } + + /** 名称 title **/ + public void setTitle(String title) { + this.title = title == null ? null : title.trim(); + } + + /** 路径 path **/ + public String getPath() { + return path; + } + + /** 路径 path **/ + public void setPath(String path) { + this.path = path == null ? null : path.trim(); + } + + /** 接口路径 component **/ + public String getComponent() { + return component; + } + + /** 接口路径 component **/ + public void setComponent(String component) { + this.component = component == null ? null : component.trim(); + } + + /** 图标 icon **/ + public String getIcon() { + return icon; + } + + /** 图标 icon **/ + public void setIcon(String icon) { + this.icon = icon == null ? null : icon.trim(); + } + + /** 按钮类型 buttonType **/ + public String getButtontype() { + return buttontype; + } + + /** 按钮类型 buttonType **/ + public void setButtontype(String buttontype) { + this.buttontype = buttontype == null ? null : buttontype.trim(); + } + + /** 状态 status **/ + public Integer getStatus() { + return status; + } + + /** 状态 status **/ + public void setStatus(Integer status) { + this.status = status; + } + + /** 描述 description **/ + public String getDescription() { + return description; + } + + /** 描述 description **/ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } + + /** 排序 sortOrder **/ + public Double getSortorder() { + return sortorder; + } + + /** 排序 sortOrder **/ + public void setSortorder(Double sortorder) { + this.sortorder = sortorder; + } + + /** 类型 type **/ + public Integer getType() { + return type; + } + + /** 类型 type **/ + public void setType(Integer type) { + this.type = type; + } + + /** 拓展 expand **/ + public Boolean getExpand() { + return expand; + } + + /** 拓展 expand **/ + public void setExpand(Boolean expand) { + this.expand = expand; + } + + /** 是否检查 checked **/ + public Boolean getChecked() { + return checked; + } + + /** 是否检查 checked **/ + public void setChecked(Boolean checked) { + this.checked = checked; + } + + /** 是否选中 selected **/ + public Boolean getSelected() { + return selected; + } + + /** 是否选中 selected **/ + public void setSelected(Boolean selected) { + this.selected = selected; + } + + /** 创建人 createdBy **/ + public String getCreatedby() { + return createdby; + } + + /** 创建人 createdBy **/ + public void setCreatedby(String createdby) { + this.createdby = createdby == null ? null : createdby.trim(); + } + + /** 创建时间 createdDate **/ + public Date getCreateddate() { + return createddate; + } + + /** 创建时间 createdDate **/ + public void setCreateddate(Date createddate) { + this.createddate = createddate; + } + + /** 更新人 lastModifiedBy **/ + public String getLastmodifiedby() { + return lastmodifiedby; + } + + /** 更新人 lastModifiedBy **/ + public void setLastmodifiedby(String lastmodifiedby) { + this.lastmodifiedby = lastmodifiedby == null ? null : lastmodifiedby.trim(); + } + + /** 更新时间 lastModifiedDate **/ + public Date getLastmodifieddate() { + return lastmodifieddate; + } + + /** 更新时间 lastModifiedDate **/ + public void setLastmodifieddate(Date lastmodifieddate) { + this.lastmodifieddate = lastmodifieddate; + } + + public Integer getParentid() { + return parentid; + } + + public void setParentid(Integer parentid) { + this.parentid = parentid; + } +} -- Gitblit v1.9.2