package com.ga.core.vo.dict;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * data_dictionary + data_domain 조인 결과
 */
@Data
public class DataDictionaryResp {
    // 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;
    private LocalDateTime createdAt;
    private String createdBy;
    private LocalDateTime updatedAt;
    private String updatedBy;

    // data_domain 조인 컬럼
    private String domainName;
    private String domainCategory;
    private String dataType;
    private Integer length;
    private String maskingType;
    private Boolean encrypted;
}
