001package io.ebean.annotation;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008/**
009 * An annotation for declaring multiple indices at class or field level.
010 *
011 * @author Roland Praml, FOCONIS AG
012 */
013@Target({ElementType.TYPE, ElementType.FIELD})
014@Retention(RetentionPolicy.RUNTIME)
015public @interface Indices {
016
017  /**
018   * Array with {@link Index} definitions.
019   */
020  Index[] value() default {};
021}