gaoluyang
3 天以前 d39e4f7d839167c16425086dfa2f8747bccfdff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 {
}