package io.gisbi.extensions.datasource.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class TableField implements Serializable {
    private String name;
    private String originName;
    private String type;               //SQL type from java.sql.Types
    private int precision;
    private long size;
    private int scale;
    private String length;
    private boolean checked = false;
    private boolean primaryKey = false;
    private String fieldType;
    private Integer deType;
    private Integer deExtractType;
    private int extField;
    private String jsonPath;
    private boolean primary;
    private boolean autoIncrement;
    List<Object> value;

    private int inCount;
    private String term = "eq";
    private Integer typeNumber;

}
