cn.woodwhales.common.util.excel.ExcelField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodwhales-common Show documentation
Show all versions of woodwhales-common Show documentation
https://github.com/woodwhales
package cn.woodwhales.common.util.excel;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* @author woodwhales on 2021-07-28 16:58
* 非日期属性excel注解
*/
@Target({FIELD})
@Retention(RUNTIME)
public @interface ExcelField {
/**
* excel列字段,默认为数据对象属性名
* @return excel列字段
*/
String value();
/**
* 字段类型,默认为 String.class
* @return 字段类型
*/
Class type() default String.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy