package cn.iocoder.yudao.framework.excel.core.handler;
|
|
import java.lang.annotation.Documented;
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* Excel 必填字段标记
|
*
|
* <p>标注在导入 VO 的字段上,导出「模板」类 Excel 时,
|
* {@link RequiredHeaderWriteHandler} 会把对应表头标红并加上星号,提示用户该列必填。
|
*
|
* @author 超级管理员
|
*/
|
@Documented
|
@Target(ElementType.FIELD)
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface ExcelRequired {
|
}
|