|
|
@@ -67,6 +67,12 @@ public class Role implements Serializable {
|
|
|
@OrderBy("id")
|
|
|
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
|
|
|
private Set<Authority> authorities;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所属企业UU
|
|
|
+ */
|
|
|
+ @Column(name = "role_enuu")
|
|
|
+ private Long enUU;
|
|
|
|
|
|
@JsonIgnore
|
|
|
public Long getId() {
|
|
|
@@ -109,6 +115,14 @@ public class Role implements Serializable {
|
|
|
this.authorities = authorities;
|
|
|
}
|
|
|
|
|
|
+ public Long getEnUU() {
|
|
|
+ return enUU;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEnUU(Long enUU) {
|
|
|
+ this.enUU = enUU;
|
|
|
+ }
|
|
|
+
|
|
|
@JsonIgnore
|
|
|
public boolean isSys() {
|
|
|
return getIssys() != null && getIssys() == Constant.YES;
|