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

com.nyvi.support.annotation.Query Maven / Gradle / Ivy

The newest version!
package com.nyvi.support.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.nyvi.support.enums.Operate;


/**
 * 

* 查询字段注解 *

* @author czk */ @Target(FIELD) @Retention(RUNTIME) public @interface Query { /** * 不必填 *

* 默认字段的名称 * @return 表字段名称 */ String value() default ""; /** * 操作符 *

* 默认执行 等于 = * @return 基本操作符 */ Operate operate() default Operate.EQ; /** * 不必填 *

* @return 参数内容前缀 */ String prefix() default ""; /** * 不必填 *

* @return 参数内容后缀 */ String suffix() default ""; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy