Data Model
The Microservices have multiple entities and each entity has a different role to play. The entities and their respective roles are explained.
Following is the entity relationship diagram for the Consent Management Microservice.
Version 1.0
The data models for the Consent Management Microservice are explained.
Consent Entity
This entity performs the following:
- Stores customer specified consent details.
- Describes the scope of the access.
- Grants permission for access.
- Manages confidential banking data.
The following table explains the various consent attributes.
| Attribute | Description |
|---|---|
| Bank Name | Holds the name of the bank. |
| Consent Type | Indicates the type of the consent given. Example: Money Management. |
| Party ID | Indicates the Customer ID. |
| Block Date | Indicates the date to block consent. |
| Consent Block | Holds the details required to block consent. |
| Consent Given | Checks if consent is given. |
| Consent Withdraw | Checks if the consent is withdrawn. |
| Creation Date | Indicates the date for creating the consent. |
| Expires Date | Indicates the date of the consent expiry. |
| Period Days | Indicates the number of days the consent will be active. |
| Withdraw Date | Indicates the date of withdrawal of the consent. |
| Withdraw Notes | Contains other details regarding the withdrawal. |
| company Legal Unit | Branch Company code. |
Version 2.0
Click the following image to view the data model.
| Table | Attributes | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MasterConsent |
|
||||||||||||||||||||||||||||||||||||
| ConsentType |
|
||||||||||||||||||||||||||||||||||||
| TermConditionCode |
|
||||||||||||||||||||||||||||||||||||
| InfinityApps |
|
||||||||||||||||||||||||||||||||||||
| TermNConditionApps |
|
||||||||||||||||||||||||||||||||||||
| TermsNConditionContent |
Relation between Status and SaveAndPublish in Create API:
|
||||||||||||||||||||||||||||||||||||
| PartyConsentDetails |
|
||||||||||||||||||||||||||||||||||||
| ConsentTypeDetails |
|
In this topic