package com.nis.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @Data @TableName("chart_element") public class ChartElement { @TableId private Integer id; /** *图表id * */ private Integer chartId; /** * promql表达式 * */ private String expression; /** * 表达式类型 * normal:简单表达式,可页面解析,如:up{asset="192.168.40.40",module="kafka"} * * expert:用户输入表达式,解析困难,直接在页面显示 * */ private String type; /** * 图表legend表达式 */ private String legend; /** * 是否为内置规则 */ private Integer buildIn; /** * 导入唯一标识 */ private String seq; }