package com.ga.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 엑셀 컬럼 매핑 어노테이션. ExcelExporter / ExcelImporter 가 사용.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelColumn {
    String header();
    int order();
    int width() default 15;
    String format() default "";
    String codeGroup() default "";
    boolean masked() default false;
    String defaultValue() default "";
    boolean required() default false;
}
