#
Junjie
2024-07-02 d6a0e5667b4dde018b8244808fcc33f68f5b07ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zy.asrs.framework.domain;
 
import java.lang.annotation.*;
 
/**
 * 查询条件注解
 *
 * @author vincent
 * @since 2021-09-01 20:48:16
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface QueryField {
 
    // 字段名称
    String value() default "";
 
    // 查询方式
    QueryType type() default QueryType.LIKE;
 
}