jyy
2021-01-26 ab2879bbcb846256cc182198b9c04e50fbc276c1
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
72
73
74
75
76
77
78
79
80
81
82
83
package com.matrix.system.common.bean;
 
import com.matrix.core.anotations.Extend;
import com.matrix.core.pojo.EntityDTO;
 
/**
 * 功能按钮关系表
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2017年12月3日
 */
public class SysFnBtnRel extends EntityDTO {
 
    @Extend
    private static final long serialVersionUID = 1L;
    
    /** 主键:这个关系表物理主键在修改比较中不参与比较 **/
    @Extend
    private Long fbId;
    /** 功能id **/
    private Long fnId;
    /** 按钮value **/
    private String btnValue;
    /** 按钮value **/
    private String btnKey;
    /** 访问路径 **/
    private String fbPath;
 
    
    /**
     * 在权限分配时用于标记是否拥有该项功能
     */
    @Extend
    private boolean hasThisBtn = false;
    
    public boolean isHasThisBtn() {
        return hasThisBtn;
    }
 
    public void setHasThisBtn(boolean hasThisBtn) {
        this.hasThisBtn = hasThisBtn;
    }
 
    public Long getFbId() {
        return fbId;
    }
 
    public void setFbId(Long fbId) {
        this.fbId = fbId;
    }
 
    public Long getFnId() {
        return fnId;
    }
 
    public void setFnId(Long fnId) {
        this.fnId = fnId;
    }
 
    public String getBtnValue() {
        return btnValue;
    }
 
    public void setBtnValue(String btnValue) {
        this.btnValue = btnValue;
    }
 
    public String getFbPath() {
        return fbPath;
    }
 
    public void setFbPath(String fbPath) {
        this.fbPath = fbPath;
    }
 
    public String getBtnKey() {
        return btnKey;
    }
 
    public void setBtnKey(String btnKey) {
        this.btnKey = btnKey;
    }
}