Model Structure

Several single use traits have been implemented across each model to simplify the model class and keep it tidy:

  1. Mutators

  2. Relationships

  3. Scopes

Mutators

These are the getters and setters for fields retrieved and saved to the database. an example of these are values that must be encrypted and decrypted from the database.

Relationships

These are Laravel relationships.

Scopes

These are Laravel query scopes for the model.