
net.dongliu.dbutils.mapping.ColumnMapping Maven / Gradle / Ivy
package net.dongliu.dbutils.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to indicate column-Bean mapping
*
* @author Liu Dong
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ColumnMapping {
/**
* If trans bean property name from camel-style to underscore-style. default true
*/
boolean underscore() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy