com.github.andyshaox.jdbc.annotation.Ifs Maven / Gradle / Ivy
package com.github.andyshaox.jdbc.annotation;
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;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Jul 22, 2016
* Encoding:UNIX UTF-8
* @author Andy.Shao
*
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Ifs {
String name();
If[] defines();
Else els() default @Else(test = "false", expression = "");
}