Type
Types provide a way to define complex data structures that are not backed by a database table. They server two purposes:
- Types can be used as mixins to contain common fields and attributes shared by multiple models.
- Types can be used to define strongly typed JSON fields in models.