@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface Table
| Modifier and Type | Required Element and Description |
|---|---|
String |
cluster
集群名称
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
cache
此表是否需要被缓存.
|
String |
name
数据表名
|
String |
shardingBy
基于哪个字段进行分片
|
int |
shardingNum
分表数
|
Copyright © 2015. All rights reserved.