| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- package cn.com.goldenwater.dcproj.model;
- import cn.com.goldenwater.core.model.BaseBean;
- import io.swagger.annotations.ApiModelProperty;
- import io.swagger.annotations.ApiParam;
- import java.io.Serializable;
- import java.util.List;
- /**
- * entity:Priv
- *
- * @author lune
- * @date 2018-2-13
- */
- public class Priv extends BaseBean implements Serializable {
- //ID(主键)
- @ApiParam(value = "ID(长度:64,主键)")
- @ApiModelProperty(value = "ID(长度:64,主键)", notes = "ID")
- private String id;
- //叶子节点标识
- @ApiParam(value = "叶子节点标识(长度:1,可为空:Y,默认值:'0')")
- @ApiModelProperty(value = "叶子节点标识(长度:1,可为空:Y,默认值:'0')", notes = "叶子节点标识")
- private String flagLeaf;
- //显示顺序
- @ApiParam(value = "显示顺序(精度:5,可为空:Y)")
- @ApiModelProperty(value = "显示顺序(精度:5,可为空:Y)", notes = "显示顺序")
- private Long seq;
- //菜单,表单控件(包括按钮、输入或显示控件、表单区域div/table等)
- @ApiParam(value = "菜单,表单控件(包括按钮、输入或显示控件、表单区域div/table等)(长度:12,可为空:Y)")
- @ApiModelProperty(value = "菜单,表单控件(包括按钮、输入或显示控件、表单区域div/table等)(长度:12,可为空:Y)", notes = "菜单,表单控件(包括按钮、输入或显示控件、表单区域div/table等)")
- private String privType;
- //权限名称
- @ApiParam(value = "权限名称(长度:256,可为空:Y)")
- @ApiModelProperty(value = "权限名称(长度:256,可为空:Y)", notes = "权限名称")
- private String privName;
- //归属系统
- @ApiParam(value = "归属系统(长度:64,可为空:Y)")
- @ApiModelProperty(value = "归属系统(长度:64,可为空:Y)", notes = "归属系统")
- private String ownerSystem;
- //样例:菜单是sys:user、按钮为user:add、表单控件为user:basic(页面:区域标识(div/table/控件等))
- @ApiParam(value = "样例:菜单是sys:user、按钮为user:add、表单控件为user:basic(页面:区域标识(div/table/控件等))(长度:256,可为空:Y)")
- @ApiModelProperty(value = "样例:菜单是sys:user、按钮为user:add、表单控件为user:basic(页面:区域标识(div/table/控件等))(长度:256,可为空:Y)", notes = "样例:菜单是sys:user、按钮为user:add、表单控件为user:basic(页面:区域标识(div/table/控件等))")
- private String code;
- //父权限ID
- @ApiModelProperty(value = "父权限ID(长度:64,没有请传0)", notes = "父权限ID")
- private String parentId;
- //对应后台Controller中的URI,后台按此URI控制访问权限;菜单或按钮时应有值
- @ApiParam(value = "对应后台Controller中的URI,后台按此URI控制访问权限;菜单或按钮时应有值(长度:512,可为空:Y)")
- @ApiModelProperty(value = "对应后台Controller中的URI,后台按此URI控制访问权限;菜单或按钮时应有值(长度:512,可为空:Y)", notes = "对应后台Controller中的URI,后台按此URI控制访问权限;菜单或按钮时应有值")
- private String privUri;
- private List<String> menuIds;
- private List<Priv> children;
- public Priv() {
- }
- public List<Priv> getChildren() {
- return children;
- }
- public void setChildren(List<Priv> children) {
- this.children = children;
- }
- public Long getSeq() {
- return seq;
- }
- public void setSeq(Long seq) {
- this.seq = seq;
- }
- public String getOwnerSystem() {
- return ownerSystem;
- }
- public void setOwnerSystem(String ownerSystem) {
- this.ownerSystem = ownerSystem;
- }
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getPrivName() {
- return privName;
- }
- public void setPrivName(String privName) {
- this.privName = privName;
- }
- public String getPrivType() {
- return privType;
- }
- public void setPrivType(String privType) {
- this.privType = privType;
- }
- public String getPrivUri() {
- return privUri;
- }
- public void setPrivUri(String privUri) {
- this.privUri = privUri;
- }
- public String getParentId() {
- return parentId;
- }
- public void setParentId(String parentId) {
- this.parentId = parentId;
- }
- public String getFlagLeaf() {
- return flagLeaf;
- }
- public void setFlagLeaf(String flagLeaf) {
- this.flagLeaf = flagLeaf;
- }
- public List<String> getMenuIds() {
- return menuIds;
- }
- public void setMenuIds(List<String> menuIds) {
- this.menuIds = menuIds;
- }
- @Override
- public String toString() {
- return "Priv [" + "id=" + id + ", privName=" + privName + ", privType=" + privType + ", parentId=" + parentId + ", flagLeaf=" + flagLeaf + "]";
- }
- }
|