jyy
2021-04-07 6f9a0cdb6360ff80818ce9ac947fb686e3045f8a
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.matrix.system.common.bean;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.matrix.core.anotations.Extend;
 
import java.util.Date;
 
/**
 * 功能按钮关系表
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2017年12月3日
 */
public class SysFnBtnRel   {
 
    @Extend
    private static final long serialVersionUID = 1L;
 
    private String createBy;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8")
    private Date createTime;
 
    private String updateBy;
 
    private Date updateTime;
 
 
    /** 主键:这个关系表物理主键在修改比较中不参与比较 **/
    @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;
    }
 
    public String getCreateBy() {
        return createBy;
    }
 
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getUpdateBy() {
        return updateBy;
    }
 
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}