package com.ho.business.vo.resp.dynamicConfig;

import com.ho.business.entity.DynamicConfig;
import com.ho.business.entity.PointDisassembleConfig;
import com.ho.business.entity.PointPolysemyConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class PointConfigResultResp {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "点位名称")
    private String name;

    @ApiModelProperty(value = "默认值")
    private String defaultValue;

    @ApiModelProperty(value = "配置点类型")
    private Integer pointType;

    @ApiModelProperty(value = "电站id")
    private Integer stationId;

    @ApiModelProperty(value = "菜单id")
    private Integer permissionId;

    @ApiModelProperty(value = "页面上的div块位置")
    private String pageLocation;

    @ApiModelProperty(value = "div块中具体位置")
    private String divLocation;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "设备id(用以区分属于哪个设备页)")
    private Integer deviceId;

    @ApiModelProperty(value = "偏移量")
    private BigDecimal offsetValue;

    @ApiModelProperty(value = "系数")
    private BigDecimal factor;

    @ApiModelProperty(value = "点位名称(中文)")
    private String nameZh;

    @ApiModelProperty(value = "点位名称(英文)")
    private String nameEn;

    @ApiModelProperty(value = "设备id")
    List<DynamicConfig> list;

    @ApiModelProperty(value = "一点多意数据集合(“配置点类型”为2时生效)")
    List<PointPolysemyConfig> polysemyList;

    @ApiModelProperty(value = "拆电芯(“配置点类型”为3时生效)")
    PointDisassembleConfig disassemble;
}
