Ecto.Reflections.BelongsTo
The reflection struct for a belongs_to
association. Its fields are:
field
- The name of the association field on the model;owner
- The model where the association was defined;associated
- The model that is associated;key
- The key on theowner
model used for the association;assoc_key
- The key on theassociated
model used for the association;