From 53dea0ef5fc8b035397b73b10f7a819ebf381b1c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 09 七月 2024 09:39:11 +0800
Subject: [PATCH] 分页优化

---
 src/main/java/com/mindskip/xzs/domain/Department.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/domain/Department.java b/src/main/java/com/mindskip/xzs/domain/Department.java
index 32039a7..73e060f 100644
--- a/src/main/java/com/mindskip/xzs/domain/Department.java
+++ b/src/main/java/com/mindskip/xzs/domain/Department.java
@@ -1,19 +1,24 @@
 package com.mindskip.xzs.domain;
 
+import com.mindskip.xzs.vo.TreeNode;
 import lombok.Data;
 
-import javax.sql.rowset.serial.SerialArray;
 import java.io.Serializable;
 import java.util.List;
 
 @Data
-public class Department implements Serializable {
+public class Department extends TreeNode implements Serializable {
 
     private Integer id;
 
     private String name;
 
     /**
+     * 涓婄骇閮ㄩ棬ID
+     */
+    private Integer parentId;
+
+    /**
      * 閮ㄩ棬绠$悊鍛�
      */
     private List<Integer> adminId;

--
Gitblit v1.8.0