@Retention(value=RUNTIME) @Target(value=TYPE) @Repeatable(value=Many2Manies.class) public @interface Many2Many
Modifier and Type | Required Element and Description |
---|---|
String |
join
Name of a table used for joining records from other tables.
|
Class<? extends Model> |
other
This is a type of a model that is the "other" end of the relationship.
|
String |
sourceFKName
Foreign key name of a source table in the join.
|
String |
targetFKName
Foreign key name of a target table in the join table.
|
public abstract String join
public abstract String sourceFKName
public abstract String targetFKName
Copyright © 2019 JavaLite. All rights reserved.