From 5bc42d0e9a85facdccea0141a95b0a1c783abcbb Mon Sep 17 00:00:00 2001 From: fangcheng Date: Tue, 18 Apr 2017 09:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0response=20=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/hospital/response/BaseResponseModule.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 parent/hospital.web/src/main/java/com/lyms/hospital/response/BaseResponseModule.java diff --git a/parent/hospital.web/src/main/java/com/lyms/hospital/response/BaseResponseModule.java b/parent/hospital.web/src/main/java/com/lyms/hospital/response/BaseResponseModule.java new file mode 100644 index 0000000..17431ab --- /dev/null +++ b/parent/hospital.web/src/main/java/com/lyms/hospital/response/BaseResponseModule.java @@ -0,0 +1,17 @@ +package com.lyms.hospital.response; + +import java.io.Serializable; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +public class BaseResponseModule implements Serializable { + + private static final long serialVersionUID = 1L; + + @Override + public String toString() { + return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE); + } + +} -- 1.8.3.1