|
@@ -41,8 +41,8 @@ public class Privilege extends JpaEntitySupport implements TreeNode {
|
|
|
/**
|
|
|
* 域(区分系统)
|
|
|
*/
|
|
|
- @Column(unique = true, nullable = false)
|
|
|
- private String domain;
|
|
|
+ @Column(unique = false, nullable = false)
|
|
|
+ private String domainId;
|
|
|
|
|
|
/**
|
|
|
* 组(权限分组,同一组的权限构成权限树)
|
|
@@ -74,12 +74,12 @@ public class Privilege extends JpaEntitySupport implements TreeNode {
|
|
|
this.parentId = parentId;
|
|
|
}
|
|
|
|
|
|
- public String getDomain() {
|
|
|
- return domain;
|
|
|
+ public String getDomainId() {
|
|
|
+ return domainId;
|
|
|
}
|
|
|
|
|
|
- public void setDomain(String domain) {
|
|
|
- this.domain = domain;
|
|
|
+ public void setDomainId(String domainId) {
|
|
|
+ this.domainId = domainId;
|
|
|
}
|
|
|
|
|
|
public String getGroupId() {
|