Linking of entities
2 minute read
Some entities in Operations Center can have links with other entities. For example, tags and resources can be assigned to work items.
Since OC is based on event sourcing, there is a corresponding event to link entities.
The linking event is only saved to one blockchain even if it is bi-directional. Otherwise, transactional consistency cannot be archived. The linking event is saved to the chain where the action is being performed.
Work item
Currently, the following entities can be linked to a work item:
- Tags (1:N)
- Category (1:1)
- State (1:1)
- Resources (1:N)
Resources
All resources have common attributes between them. Currently, these are the entities that can be linked to all types of resources:
- State (1:1)
- Capability (1:N)
Staff
- Resource type (1:1)
Vehicle
- Vehicle model (1:1)
Equipment
- Equipment model (1:1)