package cn.datax.service.data.standard.api.entity;

import cn.datax.common.base.DataScopeBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对照表信息表
 * </p>
 *
 * @author yuwei
 * @since 2020-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("standard_contrast")
public class ContrastEntity extends DataScopeBaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 数据源主键
     */
    private String sourceId;

    /**
     * 数据源
     */
    private String sourceName;

    /**
     * 数据表主键
     */
    private String tableId;

    /**
     * 数据表
     */
    private String tableName;

    /**
     * 字段主键
     */
    private String columnId;

    /**
     * 字段
     */
    private String columnName;

    /**
     * 标准类别主键
     */
    private String gbTypeId;

    /**
     * 标准类别编码
     */
    private String gbTypeCode;

    /**
     * 标准类别名称
     */
    private String gbTypeName;
}
