
panda.dao.entity.annotation.Index Maven / Gradle / Ivy
package panda.dao.entity.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;
/**
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
@Documented
public @interface Index {
String name() default "";
String[] fields() default {};
boolean unique() default false;
boolean real() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy