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

com.yuxuan66.core.db.anno.Column Maven / Gradle / Ivy

package com.yuxuan66.core.db.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD })
public @interface Column {

	/**
	 * 
	 * @title 列名称 默认为字段名称,根据配置是否转驼峰
	 * @author Sir丶雨轩
	 * @time 2018年1月12日
	 * @return
	 */
	String columnName() default "";

	/**
	 * 是否在数据库中忽略此列,默认为false=不忽略
	 * 
	 * @title
	 * @author Sir丶雨轩
	 * @time 2018年1月12日
	 * @return
	 */
	boolean notDB() default false;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy