Some mixins for managing model relationships.
belongsTo('this-model-name', 'to-model-name')
hasMany('this-model-name', 'has-model-name')
hasManyThrough('this-model-name', 'has-model-name', 'through-model-name')
The mixins are returned by factory functions that take standard arguments to create methods and properties based on the model names provided.