From 24fd92d92b1da73361a6873f31e969af78aeeee8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 28 十一月 2024 11:57:50 +0800
Subject: [PATCH] 导入题目时,如果课目不存在自动创建

---
 src/main/java/com/mindskip/xzs/domain/Department.java |   20 ++++++++++++++++++--
 1 files changed, 18 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..8c15ed6 100644
--- a/src/main/java/com/mindskip/xzs/domain/Department.java
+++ b/src/main/java/com/mindskip/xzs/domain/Department.java
@@ -1,23 +1,39 @@
 package com.mindskip.xzs.domain;
 
+import com.mindskip.xzs.domain.enums.YesOrNoEnum;
+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;
 
+    /**
+     * 鏄惁鑳界鐞嗘墍鏈塴evel涓�3鐨勬淳鍑烘墍
+     */
+    private Boolean special;
+
+    /**
+     * 閮ㄩ棬鍑犵骇
+     */
+    private Integer level;
+
     private String deleted;
 
 }

--
Gitblit v1.8.0