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

com.zys.mybatis.annotation.QueryCondition Maven / Gradle / Ivy

There is a newer version: 0.2.7
Show newest version
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