package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.apache.ibatis.type.Alias;
|
|
/**
|
* 权限
|
*/
|
@Alias("Permission")
|
@TableName( schema = "`db_experiment`",value = "tb_permission")
|
public class Permission {
|
|
private Integer id;
|
/**权限名*/
|
private String name;
|
/**
|
* 权限值-资源:操作
|
*举例:
|
* deviceInf:getAll
|
* */
|
private String value;
|
/**菜单id*/
|
private Integer menuId;
|
|
/**
|
* 这个是用户-权限表的状态
|
*/
|
@TableField(exist = false)
|
private Integer status;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
public void setValue(String value) {
|
this.value = value;
|
}
|
|
public Integer getMenuId() {
|
return menuId;
|
}
|
|
public void setMenuId(Integer menuId) {
|
this.menuId = menuId;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
}
|