From 1a2b07f01ba4616fd9e894dddf474b56d020158c Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 07 四月 2025 15:18:51 +0800 Subject: [PATCH] 整理版本 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java new file mode 100644 index 0000000..3029283 --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java @@ -0,0 +1,41 @@ +package com.dy.common.mw.protocol; + +import java.io.Serializable; + +public class CommandBackParam implements Serializable{ + + public static final long serialVersionUID; + static { + serialVersionUID = 201606251456001L; + } + + //鍛戒护澶勭悊鏄惁鎴愬姛(鐩戞帶涓棿浠跺鐞嗗懡浠ゆ槸鍚︽垚鍔燂紝涓嶄唬琛ㄥ彂閫佸懡浠ょ粰Rtu鎴愬姛涓庡惁)锛� + private Boolean success ; + //鍛戒护澶勭悊鎯呭喌鐨勬秷鎭� + private String message ; + + public String toString(){ + String s = "" ; + if(this.success != null){ + s += "success:" + this.success + "\n" ; + } + if(this.message != null){ + s += "message:" + this.message + "\n" ; + } + return s ; + } + @SuppressWarnings("unused") + public Boolean getSuccess() { + return success; + } + public void setSuccess(Boolean success) { + this.success = success; + } + public String getMessage() { + return message; + } + public void setMessage(String message) { + this.message = message; + } + +} -- Gitblit v1.8.0