com.github.bingoohuang.excel2beans.annotations.ExcelColTitle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of excel2javabeans Show documentation
Show all versions of excel2javabeans Show documentation
a little utility to convert excel rows to java beans
package com.github.bingoohuang.excel2beans.annotations;
import java.lang.annotation.*;
/**
* Set title substring for excel column value mapping.
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelColTitle {
/**
* keyword contained in column title.
*
* @return title keyword.
*/
String value() default "";
/**
* The column with title in excel should be required.
*
* @return true required.
*/
boolean required() default true;
}