RealControAuthority.java
1.28 KB
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
package com.bsth.entity.sys;
import javax.persistence.*;
/**
* 线调权限配置
* Created by panzhao on 2017/2/14.
*/
@Entity
@Table(name = "bsth_c_real_control_authority")
public class RealControAuthority {
@Id
private Integer userId;
/**
* 可调度的线路 , 分隔多个
*/
@Column(length = 4000)
private String lineCodeStr;
/**
* 调度模式 0: 监控模式 1:主调模式
*/
private int pattern;
/**
* 要排除的菜单项
* 黑名单 ,号分隔多个
*/
@Column(length = 4000)
private String excludeMenus;
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getLineCodeStr() {
return lineCodeStr;
}
public void setLineCodeStr(String lineCodeStr) {
this.lineCodeStr = lineCodeStr;
}
public int getPattern() {
return pattern;
}
public void setPattern(int pattern) {
this.pattern = pattern;
}
public String getExcludeMenus() {
return excludeMenus;
}
public void setExcludeMenus(String excludeMenus) {
this.excludeMenus = excludeMenus;
}
}