@Target(value=FIELD) @Retention(value=RUNTIME) @Inherited public @interface ExcelProperty
限定符和类型 | 可选元素和说明 |
---|---|
Class<? extends Converter> |
converter
Force the current field to use this converter.
|
String |
format
已过时。
please use
DateTimeFormat |
int |
index
Index of column
Read or write it on the index of column,If it's equal to -1, it's sorted by Java class.
|
int |
order
Defines the sort order for an column.
|
String[] |
value
The name of the sheet header.
|
public abstract String[] value
write: It automatically merges when you have more than one head
read: When you have multiple heads, take the first one
public abstract int index
public abstract int order
@Deprecated public abstract String format
DateTimeFormat
Copyright © 2018–2021 Alibaba Group. All rights reserved.