
com.ecfront.easybi.excelconverter.exchange.annotation.Map2J Maven / Gradle / Ivy
package com.ecfront.easybi.excelconverter.exchange.annotation;
import java.lang.annotation.*;
/**
* 标记映射规则
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Map2J {
String value();
Class> clazz() default Object.class;
/**
* 当对应单元格要解析成boolean时用于定义为true的值,默认为"true"。
*/
String trueValue() default "true";
/**
* 当对应单元格要解析成日期/时间,但Excel单元格却是字符串时用于定义转换格式,默认为"yyyy-MM-dd"。
*/
String dateFormat() default "yyyy-MM-dd";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy