Marks a field as a foreign key. You can specify the foreign key’s database column name using either:
Both attributes are aliases. If both are specified, they must have the same value.
Usage examples:
@FK("user_id")@FK(name="user_id")@FK @DbColumn("user_id")
"user_id".
If no value is specified (i.e., both value() and name() are set to ""),
an automatic column name resolution strategy will be applied.
-
Optional Element Summary
Optional Elements