com.zys.mybatis.annotation.QueryCondition Maven / Gradle / Ivy
package com.zys.mybatis.annotation;
import com.zys.mybatis.constant.CharFinal;
import java.lang.annotation.*;
@Target(value = ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface QueryCondition {
/**
* 条件
*/
String condition() default CharFinal.IN;
/**
* 字段名
*/
String field();
/**
* 值
*/
String value();
/**
* 类型
*/
Class> type() default Long.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy