com.kasinf.framework.rest.annotation.QueryJoin Maven / Gradle / Ivy
package com.kasinf.framework.rest.annotation;
import javax.persistence.criteria.JoinType;
import java.lang.annotation.*;
/**
* @author 凯鸿
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface QueryJoin {
/**
* 连接的名字
* @return string
*/
String property();
/**
* 连接类型
* @return {@link JoinType}
*/
JoinType joinType();
}