|
@@ -52,6 +52,42 @@ public class Privilege extends JpaEntity implements TreeNode {
|
|
|
@Column(unique = false, nullable = false)
|
|
|
private Long groupId;
|
|
|
|
|
|
+ /**
|
|
|
+ * 描述
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String description;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展属性
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String ext1;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展属性
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String ext2;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展属性
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String ext3;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展属性
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String ext4;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展属性
|
|
|
+ */
|
|
|
+ @Column(unique = false, nullable = true)
|
|
|
+ private String ext5;
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -92,6 +128,54 @@ public class Privilege extends JpaEntity implements TreeNode {
|
|
|
this.groupId = groupId;
|
|
|
}
|
|
|
|
|
|
+ public String getDescription() {
|
|
|
+ return description;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDescription(String description) {
|
|
|
+ this.description = description;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getExt1() {
|
|
|
+ return ext1;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExt1(String ext1) {
|
|
|
+ this.ext1 = ext1;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getExt2() {
|
|
|
+ return ext2;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExt2(String ext2) {
|
|
|
+ this.ext2 = ext2;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getExt3() {
|
|
|
+ return ext3;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExt3(String ext3) {
|
|
|
+ this.ext3 = ext3;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getExt4() {
|
|
|
+ return ext4;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExt4(String ext4) {
|
|
|
+ this.ext4 = ext4;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getExt5() {
|
|
|
+ return ext5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExt5(String ext5) {
|
|
|
+ this.ext5 = ext5;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public String getTreeId() {
|
|
|
return null;
|