type_and_status

Convenience classes to give entities a status, and create the needed related status tables for each entity. Status changes are tracked in a related status history table.

Possible statuses can be defined as an enumeration or as a reference to a table of related statuses.

Enumeration

In this setup there is a limited number of possible statuses an object can have, this cannot be changed by the user of the application.