package com.core.domain;
|
|
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;
|
|
@Documented
|
@Retention(RetentionPolicy.RUNTIME)
|
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
|
public @interface QueryField {
|
|
String value() default "";
|
|
QueryType type() default QueryType.LIKE;
|
}
|