From b1a41509684c3823d41ec1c184f6a5f7ba49dfb7 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 07 四月 2024 18:01:10 +0800
Subject: [PATCH] 考核规则

---
 ycl-pojo/src/main/java/com/ycl/system/entity/SysDept.java |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/system/entity/SysDept.java b/ycl-pojo/src/main/java/com/ycl/system/entity/SysDept.java
index 8f75b52..ea523b4 100644
--- a/ycl-pojo/src/main/java/com/ycl/system/entity/SysDept.java
+++ b/ycl-pojo/src/main/java/com/ycl/system/entity/SysDept.java
@@ -31,6 +31,8 @@
     /** 閮ㄩ棬鍚嶇О */
     private String deptName;
 
+    /** 鍖哄煙鍚嶇О */
+    private String area;
     /** 鏄剧ず椤哄簭 */
     private Integer orderNum;
 
@@ -54,6 +56,14 @@
     
     /** 瀛愰儴闂� */
     private List<SysDept> children = new ArrayList<SysDept>();
+
+    public String getArea() {
+        return area;
+    }
+
+    public void setArea(String area) {
+        this.area = area;
+    }
 
     public Long getDeptId()
     {
@@ -183,21 +193,20 @@
 
     @Override
     public String toString() {
-        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
-            .append("deptId", getDeptId())
-            .append("parentId", getParentId())
-            .append("ancestors", getAncestors())
-            .append("deptName", getDeptName())
-            .append("orderNum", getOrderNum())
-            .append("leader", getLeader())
-            .append("phone", getPhone())
-            .append("email", getEmail())
-            .append("status", getStatus())
-            .append("delFlag", getDelFlag())
-            .append("createBy", getCreateBy())
-            .append("createTime", getCreateTime())
-            .append("updateBy", getUpdateBy())
-            .append("updateTime", getUpdateTime())
-            .toString();
+        return "SysDept{" +
+                "deptId=" + deptId +
+                ", parentId=" + parentId +
+                ", ancestors='" + ancestors + '\'' +
+                ", deptName='" + deptName + '\'' +
+                ", area='" + area + '\'' +
+                ", orderNum=" + orderNum +
+                ", leader='" + leader + '\'' +
+                ", phone='" + phone + '\'' +
+                ", email='" + email + '\'' +
+                ", status='" + status + '\'' +
+                ", delFlag='" + delFlag + '\'' +
+                ", parentName='" + parentName + '\'' +
+                ", children=" + children +
+                '}';
     }
 }

--
Gitblit v1.8.0