ludc
2024-11-14 74430ccc657e8765e9a6ad5341104905551f22b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.vci.starter.poi.annotation;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 导出到excel的标题设置
 * @author weidy
 * @date 2020/5/30
 */
@Target({ ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelTitle {
    /**
     * 标题所在的行号
     * @return
     */
    int rowIndexForTitle() default 1;
}