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

top.isopen.commons.springboot.repository.annotation.QueryField Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package top.isopen.commons.springboot.repository.annotation;

import top.isopen.commons.springboot.repository.enums.QueryTypeEnum;

import java.lang.annotation.*;

/**
 * Model 层查询属性注解
 *
 * @author TimeChaser
 * @version 1.0
 * @since 2023/7/7 15:14
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface QueryField {

    /**
     * 查询类型
     * {@link QueryTypeEnum}
     *
     * @author TimeChaser
     * @since 2023/7/7 15:14
     */
    QueryTypeEnum type() default QueryTypeEnum.EQ;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy