/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.youchain.service.dto;

import com.youchain.domain.ExcelConfigKey;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author baobl
* @date 2024-09-14
**/
@Data
public class ExcelConfigDto implements Serializable {

    /** 主键 */
    private Long id;

    /** table表名 */
    private String tableName;

    /** Excel列名 */
    private String excelColumnName;

    /** table字段名 */
    private String tableColumnName;

    /** table字段类型 */
    private String tableColumnType;

    /** 关联表类型 */
    private Integer glbType=0;
    /** 唯一标识 */
    private Boolean onlyFlag=false;

    /** 默认值 */
    private String defaultValue;
    /** 关联字典value */
    private String dictName;
    /** 关联外键表名 */
    private String keyTableName;
    /** 表列名 */
    private String keyColumnName;
    /** 字段类型 */
    private String keyColumnType;
    /** 字段映射 */
    private String keyName;
    private ExcelConfigKey ecKey;
}