whycxzp
2021-09-27 aebf48caa06d2831c56d66ba2f946800dff0b3a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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;
    }
}