xiangpei
2024-08-02 9814046268f11b43fc674142db0fb3b690c3fbaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.ycl.platform.domain.result.HK;
 
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;
 
/**
 * 数据配置信息
 * @author gonghl
 */
@Data
@Document(collection = "hk_monitor_resource")
public class MonitorResourceResult extends BaseResult {
 
    /**
     * 关注资源列表
     */
    private List<Resource> resourceList;
 
    // 内嵌对象定义
 
    /**
     * 关注资源
     */
    @Data
    public static class Resource {
        /**
         * 名称
         */
        @TextIndexed
        private String monitorName;
 
        /**
         * 编号
         */
        @TextIndexed
        private String monitorCode;
 
        /**
         * 设备类型:1、卡口;2、采集设备
         */
        private int deviceType;
    }
}