@@ -19,10 +19,14 @@ public class Org implements Serializable{
@Id
@GeneratedValue
private Long id;
-
+ /**
+ * 顶级机构id,无上级时为0;eg.学校即是顶级
+ */
@NotNull
private Long rootId;
+ * 父级机构id,无上级时为0;eg.学习中心的父级为学校
private Long parentId;