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;
|
}
|
}
|