Annotation Interface SqlTable


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface SqlTable
标识Bean 实体类对应的表名
版本:
1.0
作者:
Jovi
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    表名
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    表别名
    boolean
    是否自动更改表结构
    boolean
    如果表不存在则自动创建表
    boolean
    生成实体类生成对应表的字段常量
    boolean
    是否为视图
    boolean
    map-underscore-to-camel-case 是否开启Java字段驼峰命名转Sql字段下划线命名
    表注释
    schema
  • 元素详细资料

    • value

      String value
      表名
      返回:
    • autoCreate

      boolean autoCreate
      如果表不存在则自动创建表
      返回:
      默认值:
      true
    • autoAlter

      boolean autoAlter
      是否自动更改表结构
      返回:
      默认值:
      false
    • constant

      boolean constant
      生成实体类生成对应表的字段常量
      返回:
      默认值:
      true
    • mapUsToCc

      boolean mapUsToCc
      map-underscore-to-camel-case 是否开启Java字段驼峰命名转Sql字段下划线命名
      返回:
      默认值:
      true
    • isView

      boolean isView
      是否为视图
      返回:
      默认值:
      false
    • alias

      String alias
      表别名
      返回:
      默认值:
      ""
    • schema

      String schema
      schema
      返回:
      默认值:
      ""
    • remarks

      String remarks
      表注释
      返回:
      默认值:
      ""