wangrong
2026-08-30 4c949c0dc9bcae785c281c9d8125295f09810b15
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package io.dataease.api.dataset.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.io.Serializable;
 
@Data
@NoArgsConstructor
public class CoreDatasetTableFieldVO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
 
    /**
     * 数据源ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long datasourceId;
 
    /**
     * 数据表ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long datasetTableId;
 
    /**
     * 数据集ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long datasetGroupId;
 
    /**
     * 图表ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long chartId;
 
    /**
     * 原始字段名
     */
    private String originName;
 
    /**
     * 字段名用于展示
     */
    private String name;
 
    /**
     * 描述
     */
    private String description;
 
    /**
     * de字段名用作唯一标识
     */
    private String dataeaseName;
 
    /**
     * de字段别名
     */
    private String fieldShortName;
 
    /**
     * 维度/指标标识 d:维度,q:指标
     */
    private String groupType;
 
    /**
     * 原始字段类型
     */
    private String type;
 
    private Integer size;
 
    /**
     * dataease字段类型:0-文本,1-时间,2-整型数值,3-浮点数值,4-布尔,5-地理位置,6-二进制
     */
    private Integer deType;
 
    /**
     * de记录的原始类型
     */
    private Integer deExtractType;
 
    /**
     * 是否扩展字段 0原始 1复制 2计算字段...
     */
    private Integer extField;
 
    /**
     * 是否选中
     */
    private Boolean checked;
 
    /**
     * 列位置
     */
    private Integer columnIndex;
 
    /**
     * 同步时间
     */
    private Long lastSyncTime;
 
    /**
     * 精度
     */
    private Integer accuracy;
 
    private String dateFormat;
 
    /**
     * 时间格式类型
     */
    private String dateFormatType;
 
    // 附加ID 兼容自定义参数ID
    private String attachId;
 
    public CoreDatasetTableFieldVO(String attachId, String name,  Integer deType) {
        this.attachId = attachId;
        this.name = name;
        this.deType = deType;
    }
}