summaryrefslogtreecommitdiff
path: root/src/main/java/com/nis/entity/Chart.java
blob: 49abad32f6d8a514ac7d0f95a0d52a399bb939e0 (plain)
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 com.nis.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("chart")
public class Chart{


    @TableId
    public Integer id;

    /**
     * 排序字段,前一个元素
     */
    public Integer prev;

    /**
     * 排序字段,后一个元素
     */
    public Integer next;

    /**
     * 图表id,关联panel表
     * */
    private Integer panelId;
    /**
     *图表标题
     * */
    private String title;
    /**
     * 宽
     * */
    private Integer span;
    /**
     * 高
     * */
    private Integer height;
    /**
     * 创建时间
     * */
    private Date createAt;
    /**
     * 图标类型 line,bar,table
     * */
    private String type;
    
    /**
     * 单位
     */
    private Integer unit;

    /**
     * 默认为 0,用于chart排序
     */
    private Integer weight;

    /**
     * 模板ID
     */
    private Integer pid;

    /**
     * 是否为内置规则
     */
    private Integer buildIn;

    /**
     * 导入唯一标识
     */
    private String seq;

    private String param;
}