Annotation Interface Table


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface Table
表定义注解。

标记在实体类上,用于指定对应的数据库表信息。

Since:
1.0.0
Version:
1.0.0
Author:
Berry_so
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    表注释。
    表名。
    数据库模式(schema)。
  • Element Details

    • name

      String name
      表名。
      Returns:
      数据库表名,默认使用类名
      Default:
      ""
    • schema

      String schema
      数据库模式(schema)。
      Returns:
      模式名
      Default:
      ""
    • comment

      String comment
      表注释。
      Returns:
      表的注释说明
      Default:
      ""