From d51d44b7c4fae2e5620ade09f3e728ae8f3a5795 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 02 八月 2024 16:29:27 +0800
Subject: [PATCH] 数据中心service

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java
index 8ac3736..531246b 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java
@@ -1,6 +1,9 @@
 package com.ycl.platform.domain.result.UY;
 
+import com.ycl.platform.domain.result.BaseResult;
 import lombok.Data;
+import org.springframework.data.mongodb.core.index.TextIndexed;
+import org.springframework.data.mongodb.core.mapping.Document;
 
 import java.util.List;
 
@@ -11,16 +14,19 @@
  * @since 2024-4-19 11:52:09
  */
 @Data
-public class OsdMonitorResult {
+@Document(collection = "uy_osd_monitor")
+public class OsdMonitorResult extends BaseResult {
 
     /**
      * 鍖哄煙璺緞淇℃伅
      */
+    @TextIndexed
     private String arealayerPath;
 
     /**
      * 鍖哄煙鍚嶇О
      */
+    @TextIndexed
     private String arealayername;
 
     /**
@@ -31,11 +37,13 @@
     /**
      * 璁惧 ID
      */
+    @TextIndexed
     private String deviceId;
 
     /**
      * 璁惧鍚嶇О
      */
+    @TextIndexed
     private String deviceName;
 
     /**
@@ -51,6 +59,7 @@
     /**
      * IP 鍦板潃
      */
+    @TextIndexed
     private String ip;
 
     /**

--
Gitblit v1.8.0