api管理-用户增加是否监控属性,默认不监控
This commit is contained in:
@@ -39,6 +39,8 @@ public class ApiUser implements SqlEntity {
|
||||
|
||||
private String manager;
|
||||
|
||||
private Integer isMonitor;
|
||||
|
||||
@Id
|
||||
@Column(name = "ID")
|
||||
public long getId() {
|
||||
@@ -175,4 +177,12 @@ public class ApiUser implements SqlEntity {
|
||||
public void setManager(String manager) {
|
||||
this.manager = manager;
|
||||
}
|
||||
@Column(name = "IS_MONITOR")
|
||||
public Integer getIsMonitor() {
|
||||
return isMonitor;
|
||||
}
|
||||
|
||||
public void setIsMonitor(Integer isMonitor) {
|
||||
this.isMonitor = isMonitor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user