package cn.datax.service.data.metadata.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 元数据信息表 实体VO
 * </p>
 *
 * @author yuwei
 * @since 2020-07-29
 */
@Data
public class DataMetadataColumnVo implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private String sourceId;
    private String tableId;
    private String columnName;
    private String columnComment;
    private String columnKey;
    private String columnNullable;
    private String columnPosition;
    private String dataType;
    private String dataLength;
    private String dataPrecision;
    private String dataScale;
    private String dataDefault;
}
