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

panda.dao.entity.annotation.JoinColumn Maven / Gradle / Ivy

package panda.dao.entity.annotation;

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

/**
 * A JOIN Column mapping:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
@Documented
public @interface JoinColumn {
	/**
	 * join name
	 */
	String name();

	/**
	 * target field
	 */
	String field();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy