
com.zlyx.easy.access.defaults.annotations.SQL Maven / Gradle / Ivy
package com.zlyx.easy.access.defaults.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.zlyx.easy.database.enums.SqlType;
/**
* @Auth 赵光
* @Describle
* @2019年1月11日 下午4:49:40
*/
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface SQL {
public final static String PLACEHOLDER = "";
/**
*
* @return sql
*/
String value();
/**
* SQL类型
* @return
*/
SqlType sqlType() default SqlType.Select;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy