jiangping
2025-03-31 06a46e017886bec692223a626ff50a06b83910cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.doumee.core.annotation.excel;
 
import java.lang.annotation.*;
 
/**
 * 标记为Excel导入列
 * @author Eva.Caesar Liu
 * @since 2025/03/31 16:44
 */
@Inherited
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelImportColumn {
 
    /**
     * 排序,值越小越靠前,-1按字段反射顺序排序
     */
    int index() default -1;
 
    /**
     * 数据转换器
     */
    Class<? extends ExcelDataConverterAdapter> converter() default ExcelDataConverterAdapter.class;
 
    /**
     * 自定义数据处理器参数
     */
    String[] args() default {};
 
}