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

com.orion.office.csv.annotation.ExportField Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
package com.orion.office.csv.annotation;

import com.orion.lang.utils.Strings;

import java.lang.annotation.*;

/**
 * csv 导出字段注解
 * 

* 可以加到 field 或 getter 上, 但是必须有getter方法 * * @author Jiahang Li * @version 1.0.0 * @since 2021/1/25 11:33 */ @Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface ExportField { /** * 列 */ int value(); /** * 表头 */ String header() default Strings.EMPTY; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy