|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface SingleFKey
A shortcut annotation of FKey, only for one column
| Optional Element Summary | |
|---|---|
boolean |
ddl
if ddl set to false, will not output DDL when call TableModelUtils's entity2Model() and oneEntity2Model methods |
String |
name
(Optional) The name of the foreign key. |
String[] |
refs
Referenced table name and columns, first is table name, followed by column names, like "table1, col1, col2..." |
public abstract String name
public abstract String[] refs
public abstract boolean ddl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||