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

com.github.houbb.iexcel.hutool.annotation.ExcelField Maven / Gradle / Ivy

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