@Target(value=FIELD)
@Retention(value=RUNTIME)
@Inherited
public @interface ExcelProperty
限定符和类型 | 可选元素和说明 |
---|---|
java.lang.Class<? extends Converter> |
converter
Force the current field to use this converter.
|
java.lang.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
|
java.lang.String[] |
value
The name of the sheet header.
|
public abstract java.lang.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 java.lang.Class<? extends Converter> converter
@Deprecated public abstract java.lang.String format
DateTimeFormat