2026-08-06 c5f7b157db3ea552e32aa3169cfa3e30f40d8734
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package cn.iocoder.yudao.module.bi.dal.dataobject;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
/**
 * 图表配置 DO
 *
 * @author 芋道源码
 */
@TableName("bi_chart_config")
@KeySequence("bi_chart_config_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BiChartConfigDO extends BaseDO {
 
    @TableId
    private Long id;
 
    /**
     * 所属仪表盘ID
     *
     * 关联 {@link BiDashboardDO#getId()}
     */
    private Long dashboardId;
 
    /**
     * 图表名称
     */
    private String name;
 
    /**
     * 图表类型:bar / line / pie / scatter / gauge / table / number
     */
    private String chartType;
 
    /**
     * 数据源配置ID
     *
     * 关联 {@link BiDataSourceConfigDO#getId()}
     */
    private Long dataSourceId;
 
    /**
     * 查询SQL
     */
    private String querySql;
 
    /**
     * 布局位置 {x, y, w, h}
     */
    private String position;
 
    /**
     * ECharts 配置项覆盖
     */
    private String chartOptions;
 
    /**
     * 刷新间隔(秒),0表示不自动刷新
     */
    private Integer refreshInterval;
 
    /**
     * 排序
     */
    private Integer sort;
 
    /**
     * 状态:0-禁用 1-启用
     */
    private Integer status;
 
}