From ea5be111f899db0af7356bbee88c07161875cc54 Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期一, 16 六月 2025 19:12:46 +0800
Subject: [PATCH] 领导层首页-实时告警信息

---
 src/main/java/com/whyc/dto/NameValueListDto.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/whyc/dto/NameValueListDto.java b/src/main/java/com/whyc/dto/NameValueListDto.java
new file mode 100644
index 0000000..f46d421
--- /dev/null
+++ b/src/main/java/com/whyc/dto/NameValueListDto.java
@@ -0,0 +1,22 @@
+package com.whyc.dto;
+
+import lombok.Data;
+import lombok.ToString;
+
+import java.util.List;
+
+@ToString
+@Data
+public class NameValueListDto<T> {
+
+    private String name;
+    private List<T> value;
+
+    public NameValueListDto() {
+    }
+
+    public NameValueListDto(String name, List<T> value) {
+        this.name = name;
+        this.value = value;
+    }
+}

--
Gitblit v1.9.1