-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf($Excel): translate into English
- Loading branch information
1 parent
dbd501f
commit 60f8cd1
Showing
2 changed files
with
319 additions
and
267 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...d-starter/src/main/java/com/jmsoftware/maf/springcloudstarter/annotation/ExcelColumn.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.jmsoftware.maf.springcloudstarter.annotation; | ||
|
||
import org.apache.poi.ss.usermodel.CellType; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* Description: ExcelColumn, change description here. | ||
* | ||
* @author 钟俊 (zhongjun), email: zhongjun@toguide.cn, date: 2/19/2021 9:15 AM | ||
*/ | ||
@Documented | ||
@Target(ElementType.FIELD) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface ExcelColumn { | ||
/** | ||
* Description string. | ||
* | ||
* @return the string | ||
*/ | ||
String description() default ""; | ||
|
||
/** | ||
* Cell type cell type. | ||
* | ||
* @return the cell type | ||
*/ | ||
CellType cellType() default CellType.STRING; | ||
} |
Oops, something went wrong.