Annotation Interface Table


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface Table
Annotate the entity mapping a special table in datasource by value().

Use example:

     @Table("t_person")
     public class Person extends AbsEntity{

     }
 
从以下版本开始:
1.0.0
版本:
1.0.0
作者:
ilikly
  • 元素详细资料

    • value

      @NonNull String value
      return the special table name when the Class.getSimpleName() of entity can not mapped the table.
      返回:
      the special table name.
      默认值:
      ""