WANG 5 роки тому
батько
коміт
bbec6311a1

+ 5 - 0
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/RolePrivilegeController.java

@@ -207,6 +207,11 @@ public class RolePrivilegeController extends ControllerSupport {
 			bean.setId(cur.getId());
 			bean.setCode(cur.getCode());
 			bean.setName(cur.getName());
+			bean.setExt1(cur.getExt1());
+			bean.setExt2(cur.getExt2());
+			bean.setExt3(cur.getExt3());
+			bean.setExt4(cur.getExt4());
+			bean.setExt5(cur.getExt5());
 
 			ret.add(bean);
 		}

+ 72 - 0
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/bean/PrivilegeGroupDomain.java

@@ -1,5 +1,7 @@
 package cn.com.qmth.examcloud.core.basic.api.controller.bean;
 
+import javax.persistence.Column;
+
 import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 
 /**
@@ -38,6 +40,36 @@ public class PrivilegeGroupDomain implements JsonSerializable {
 	 */
 	private String rootOrgName;
 
+	/**
+	 * 扩展属性
+	 */
+	@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;
 	}
@@ -78,4 +110,44 @@ public class PrivilegeGroupDomain implements JsonSerializable {
 		this.rootOrgName = rootOrgName;
 	}
 
+	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;
+	}
+
 }

+ 70 - 0
examcloud-core-basic-dao/src/main/java/cn/com/qmth/examcloud/core/basic/dao/entity/PrivilegeGroupEntity.java

@@ -41,6 +41,36 @@ public class PrivilegeGroupEntity extends JpaEntity {
 	@Column(unique = true, nullable = false)
 	private String code;
 
+	/**
+	 * 扩展属性
+	 */
+	@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;
 	}
@@ -65,4 +95,44 @@ public class PrivilegeGroupEntity extends JpaEntity {
 		this.code = code;
 	}
 
+	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;
+	}
+
 }