From b28a5002a58d8d0b37082da12e5b218f0951de47 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 04 Dec 2017 16:46:44 +0800
Subject: [PATCH] 更新

---
 src/main/java/com/moral/entity/OrganizationRelation.java |   26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)

diff --git a/src/main/java/com/moral/entity/OrganizationRelation.java b/src/main/java/com/moral/entity/OrganizationRelation.java
index bf98d83..008fa4f 100644
--- a/src/main/java/com/moral/entity/OrganizationRelation.java
+++ b/src/main/java/com/moral/entity/OrganizationRelation.java
@@ -1,5 +1,8 @@
 package com.moral.entity;
 
+import lombok.Data;
+
+@Data
 public class OrganizationRelation {
     private Integer id;
 
@@ -7,27 +10,4 @@
 
     private Integer childId;
 
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public Integer getParentId() {
-        return parentId;
-    }
-
-    public void setParentId(Integer parentId) {
-        this.parentId = parentId;
-    }
-
-    public Integer getChildId() {
-        return childId;
-    }
-
-    public void setChildId(Integer childId) {
-        this.childId = childId;
-    }
 }
\ No newline at end of file

--
Gitblit v1.8.0