
com.github.houbb.iexcel.hutool.annotation.ExcelField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iexcel-hutool Show documentation
Show all versions of iexcel-hutool Show documentation
Excel read and write tool based on hutool-poi.
package com.github.houbb.iexcel.hutool.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author binbin.hou
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ExcelField {
/**
* excel 表头名称
* @return 表头名称
*/
String headerName();
/**
* 从小到大排序
*
* 备注:产品要求导出文本必须按照指定顺序时指定
* @return 顺序
*/
int order() default 0;
/**
* 读取时是否需要
* @return 是否
*/
boolean readRequire() default true;
/**
* 写入时是否需要
* @return 是否
*/
boolean writeRequire() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy