From bf9f5d506d34cbbcc68f77cdf71e30a6cf3cd7d4 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 09 八月 2023 13:50:07 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java b/src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java
index 7404bb9..432a1da 100644
--- a/src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java
+++ b/src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java
@@ -7,9 +7,14 @@
 public class KeyValueEntity {
     private String key;
 
-    private Object value;
+    private String value;
 
     public KeyValueEntity() {
+    }
+
+    public KeyValueEntity(String key, String value) {
+        this.key = key;
+        this.value = value;
     }
 
     public String getKey() {
@@ -20,11 +25,11 @@
         this.key = key;
     }
 
-    public Object getValue() {
+    public String getValue() {
         return value;
     }
 
-    public void setValue(Object value) {
+    public void setValue(String value) {
         this.value = value;
     }
 }

--
Gitblit v1.9.3