Annotation Interface Table


@Target(TYPE) @Retention(CLASS) public @interface Table
Русский: Аннотация указывает имя таблицы в базе данных для сущности.
English: An annotation specifies table name in the database for an entity model.

Пример / Example:
 
 public record User(String fullName) {}
 
 
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      Русский: Имя в таблицы в базе данных для сущности.
      English: Table name in the database for an entity model.
    • alias

      String alias
      Default:
      ""