com.github.yooryan.advancequery.annotation.AdvanceSqlOp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-advance-query Show documentation
Show all versions of mybatis-advance-query Show documentation
This is a MyBaits plug-in that provides automatic build of advanced query.
package com.github.yooryan.advancequery.annotation;
import java.lang.annotation.*;
/**
* @author linyunrui
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@Inherited
public @interface AdvanceSqlOp {
/**
* 查询操作符
* @return 操作符
*/
SqlKeyword value();
/**
* 驼峰命名转换_
* @return 默认true
*/
boolean camelCaseToUnderscoreMap() default true;
/**
* 设定别名
* @return 默认为""
*/
String alias() default "";
}