Annotation Interface SqlColumn


@Retention(RUNTIME) @Target(FIELD) @Documented @Inherited public @interface SqlColumn
标识Bean 实体类的字段与数据库中对应的字段名
版本:
1.0
作者:
Jovi
  • 元素详细资料

    • value

      String value
      列字段名称
      返回:
      默认值:
      ""
    • notNull

      boolean notNull
      不能是null
      返回:
      默认值:
      false
    • type

      JdbcType type
      类型
      返回:
      默认值:
      NOTHING
    • length

      long length
      长度
      返回:
      默认值:
      0L
    • scale

      int scale
      小数点
      返回:
      默认值:
      0
    • def

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

      String remarks
      字段注释
      返回:
      默认值:
      ""
    • ignore

      boolean ignore
      是否忽略该字段
      返回:
      默认值:
      false
    • oldName

      String oldName
      旧字段名称
      返回:
      默认值:
      ""