提交 | 用户 | 时间 | ||
722af2 | 1 | package com.dl.common.annotation; |
X | 2 | |
3 | import com.dl.common.excel.CellMergeStrategy; | |
4 | ||
5 | import java.lang.annotation.*; | |
6 | ||
7 | /** | |
8 | * excel 列单元格合并(合并列相同项) | |
9 | * | |
10 | * 需搭配 {@link CellMergeStrategy} 策略使用 | |
11 | * | |
12 | * @author Lion Li | |
13 | */ | |
14 | @Target(ElementType.FIELD) | |
15 | @Retention(RetentionPolicy.RUNTIME) | |
16 | @Inherited | |
17 | public @interface CellMerge { | |
18 | ||
19 | /** | |
20 | * col index | |
21 | */ | |
22 | int index() default -1; | |
23 | ||
24 | } |