From 4351e71d782741143a98f86f6648acd16689165f Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 27 May 2022 19:48:02 +0800
Subject: [PATCH] Merge branch 'developer' into hive2.0

---
 zq-erp/src/main/java/com/matrix/core/pojo/VerificationResult.java |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/core/pojo/VerificationResult.java b/zq-erp/src/main/java/com/matrix/core/pojo/VerificationResult.java
new file mode 100644
index 0000000..d4bb932
--- /dev/null
+++ b/zq-erp/src/main/java/com/matrix/core/pojo/VerificationResult.java
@@ -0,0 +1,47 @@
+package com.matrix.core.pojo;
+
+import lombok.Data;
+
+/**
+ * 通用的验证返回参数
+ */
+@Data
+public class VerificationResult {
+
+    private boolean judgeResult;
+
+    private String  msg;
+
+    private Object  info;
+
+    private VerificationResult(){
+
+    }
+
+    public static VerificationResult buildVerificationResult(boolean judgeResult){
+        VerificationResult obj=new VerificationResult();
+        obj.judgeResult =judgeResult;
+        return obj ;
+    }
+
+
+    public static VerificationResult buildVerificationResult(boolean judgeResult,String msg){
+        VerificationResult obj=new VerificationResult();
+        obj.judgeResult =judgeResult;
+        obj.msg=msg;
+        return obj ;
+    }
+
+
+    public static VerificationResult buildVerificationResult(boolean judgeResult,Object  info){
+        VerificationResult obj=new VerificationResult();
+        obj.judgeResult =judgeResult;
+        obj.info=info;
+        return obj ;
+    }
+
+
+
+
+
+}

--
Gitblit v1.9.1