package com.fizz.business.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * WS 订阅：设备字段趋势
 */
@Data
@Schema(description = "设备字段趋势订阅请求")
public class DeviceFieldTrendSubscribeReq implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "设备代码列表，为空表示不变")
    private List<String> deviceCodes;

    @Schema(description = "字段名列表，为空表示不变")
    private List<String> fieldNames;

    @Schema(description = "是否只推送可见范围(用于懒加载)，true=只推 deviceCodes/fieldNames 命中的数据")
    private Boolean lazy;
}

