
net.dongliu.dbutils.mapping.Table 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 Table {
/**
* If map bean property name to table filed name using underscore-style. default true
*/
boolean underscore() default true;
/**
* The table name map to this bean
*/
String name() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy