All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.woodwhales.common.util.excel.ExcelField Maven / Gradle / Ivy

There is a newer version: 3.8.3
Show newest version
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