From b9b58b9ef261cb290d93465f88a2cbd814b576f0 Mon Sep 17 00:00:00 2001
From: fei.wang <wf18701153496@163.com>
Date: 星期一, 13 五月 2024 17:51:44 +0800
Subject: [PATCH] 更改

---
 src/main/java/com/flow/util/pageresult.java |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/flow/util/pageresult.java b/src/main/java/com/flow/util/pageresult.java
new file mode 100644
index 0000000..206c58f
--- /dev/null
+++ b/src/main/java/com/flow/util/pageresult.java
@@ -0,0 +1,71 @@
+//
+// Source code recreated from a .class file by IntelliJ IDEA
+// (powered by FernFlower decompiler)
+//
+
+package com.flow.util;
+
+public class pageresult<T> extends result<T> {
+    private Long count;
+
+    public pageresult(Long count, String msg, T data) {
+        super(msg, data);
+        this.count = count;
+    }
+
+    public pageresult(Long count, T data) {
+        super(data);
+        this.count = count;
+    }
+
+    public Long getCount() {
+        return this.count;
+    }
+
+    public void setCount(Long count) {
+        this.count = count;
+    }
+
+    public boolean equals(Object o) {
+        if (o == this) {
+            return true;
+        } else if (!(o instanceof pageresult)) {
+            return false;
+        } else {
+            pageresult<?> other = (pageresult)o;
+            if (!other.canEqual(this)) {
+                return false;
+            } else {
+                Object this$count = this.getCount();
+                Object other$count = other.getCount();
+                if (this$count == null) {
+                    if (other$count != null) {
+                        return false;
+                    }
+                } else if (!this$count.equals(other$count)) {
+                    return false;
+                }
+
+                return true;
+            }
+        }
+    }
+
+    protected boolean canEqual(Object other) {
+        return other instanceof pageresult;
+    }
+
+    public int hashCode() {
+        int result = 1;
+        Object $count = this.getCount();
+        result = result * 59 + ($count == null ? 43 : $count.hashCode());
+        return result;
+    }
+
+    public String toString() {
+        return "pageresult(count=" + this.getCount() + ")";
+    }
+
+    public pageresult() {
+    }
+}

--
Gitblit v1.9.3