@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface ExcelField
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
allowEmpty
Whether null values are supported when imported (including cells that do not exist or empty strings)
|
Merge |
autoMerge
Whether to enable automatic vertical merge when export
|
Class<? extends DataConvert<?>> |
convert
Data convert, which you can use to change data during import and export,
before the cell are populated and converted to entity field
|
String |
format
The format of the cells under the current table header when exported,
default to normal format
|
int |
sort
List header sort, if not set will default entity property order
|
String[] |
value
Array of Excel header names.
|
int |
width
Excel header width
|
public abstract String[] value
public abstract int sort
public abstract String format
public abstract Merge autoMerge
public abstract boolean allowEmpty
public abstract Class<? extends DataConvert<?>> convert
DataConvertCopyright © 2020. All rights reserved.