package com.ga.core.vo.dict;

import lombok.Data;

/**
 * VIEW v_data_dictionary_full 조회 결과.
 * data_dictionary + data_domain + information_schema.COLUMNS 결합.
 */
@Data
public class DataDictionaryFullResp {
    // data_dictionary
    private Long dictId;
    private String tableName;
    private String columnName;
    private String domainCode;
    private String columnLabel;
    private String description;
    private Boolean isPk;
    private Boolean isFk;
    private String fkReference;
    private Boolean isRequired;
    private String defaultValue;
    private String businessRule;
    private String sampleValue;
    private Integer sortOrder;

    // data_domain
    private String domainName;
    private String domainCategory;
    private String maskingType;
    private Boolean encrypted;

    // information_schema.COLUMNS
    private String physicalDataType;
    private Long physicalLength;
    private Integer physicalPrecision;
    private Integer physicalScale;
    private String physicalNullable;
    private String physicalDefault;
    private String physicalComment;
    private Long ordinalPosition;
}
