001package io.ebean.config;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008/**
009 * Used by generated code to hold entity classes to register with Ebean.
010 */
011@Target({ElementType.TYPE})
012@Retention(RetentionPolicy.RUNTIME)
013public @interface ModuleInfo {
014
015  /**
016   * Returns the entity classes with db name prefix.
017   * <p>
018   * The db name prefix is added to entity classes for non default databases.
019   */
020  String[] entities() default {};
021
022  /**
023   * Other classes like Attribute Converters.
024   */
025  String[] other() default {};
026}