Angel supports the following kinds of relations by means of annotations on fields:
The local key defaults to , and the foreign key defaults to id
.You can manually override these:
A very common situation that occurs when using relational databases is where two tablesmay be bound to multiple copies of each other. For example, in a school database, each studentcould be registered to multiple classes, and each class could have multiple students taking it.