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
package io.dataease.api.sync.task.dto;
 
import io.dataease.api.sync.datasource.dto.SyncDatasourceDTO;
import lombok.Data;
 
import java.util.List;
 
 
/**
 * @author fit2cloud
 * @date 2023/8/10 16:38
 **/
@Data
public class Source {
    private String type;
    private String query;
    private String tables;
    private SyncDatasourceDTO datasource;
    private String datasourceId;
    private String tableExtract;
    private List<TableField> fieldList;
    private String incrementField;
    private String esQuery;
 
    public Source() {
    }
 
    public Source(Source source) {
        this.type = source.type;
        this.query = source.query;
        this.tables = source.tables;
        this.datasource = source.datasource;
        this.datasourceId = source.datasourceId;
        this.tableExtract = source.tableExtract;
        this.fieldList = source.fieldList;
        this.incrementField = source.incrementField;
        this.esQuery = source.esQuery;
    }
}