Annotation Interface DbTable


@Retention(RUNTIME) @Target(TYPE) public @interface DbTable
An annotation to mark a class as a database table. This annotation is not required. It is only used to provide additional information to Stormify.

If the name of the class is camel case, it will be converted to snake case.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the table in the database.
  • Element Details

    • name

      String name
      The name of the table in the database. If not provided, the name of the class will be used.
      Returns:
      The name of the table in the database.
      Default:
      ""