package com.ho.common.tools.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author fancl
 * @desc: 包含设备id和点表字段的请求体
 * @date 2023/3/24
 */
@Data
public class PointCurveSrcCol {

    @ApiModelProperty(value = "设备id")
    Integer srcId;

    @ApiModelProperty(value = "设备类型")
    String deviceType;

    @ApiModelProperty(value = "点表字段列表")
    List<String> cols;

    @ApiModelProperty(value = "设备名称",hidden = true)
    String deviceName;

    @ApiModelProperty(value = "字段列表与系数直接的映射")
    Map<String, BigDecimal> map;

    /************2024-06-07为组态动态表加******************/
    @ApiModelProperty(value = "td表名",hidden = true)
    String tableName;

    @ApiModelProperty(value = "字段列",hidden = true)
    String col;

    @ApiModelProperty(value = "曲线图例",hidden = true)
    String legend;
}
