#
Junjie
2 天以前 c7c446cd590db549adcd4c63700fe1f32a5d3b24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}