- Introduced new junction entities: CAICollectionCDokumente, CAdvowareAktenCDokumente, and CPulsTeamZuordnung. - Implemented respective controllers and services for handling CRUD operations. - Added metadata definitions for new entities, including fields, links, and indexes. - Created language files for English and German translations for the new entities. - Developed a script to set ACL permissions for the new junction entities across existing roles. - Updated existing entity definitions to include new relationships and fields related to Advoware and AI Collections.
69 lines
1.4 KiB
JSON
69 lines
1.4 KiB
JSON
{
|
|
"fields": {
|
|
"puls": {
|
|
"type": "link"
|
|
},
|
|
"pulsId": {
|
|
"type": "varchar",
|
|
"len": 17
|
|
},
|
|
"team": {
|
|
"type": "link"
|
|
},
|
|
"teamId": {
|
|
"type": "varchar",
|
|
"len": 17
|
|
},
|
|
"aktiv": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"abgeschlossen": {
|
|
"type": "bool",
|
|
"default": false
|
|
},
|
|
"prioritaet": {
|
|
"type": "enum",
|
|
"options": ["Niedrig", "Normal", "Hoch", "Dringend"],
|
|
"default": "Normal"
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"modifiedAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"links": {
|
|
"puls": {
|
|
"type": "belongsTo",
|
|
"entity": "CPuls",
|
|
"foreign": "teamZuordnungen"
|
|
},
|
|
"team": {
|
|
"type": "belongsTo",
|
|
"entity": "Team"
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc"
|
|
},
|
|
"indexes": {
|
|
"pulsId": {
|
|
"columns": ["pulsId"]
|
|
},
|
|
"teamId": {
|
|
"columns": ["teamId"]
|
|
},
|
|
"aktiv": {
|
|
"columns": ["aktiv"]
|
|
},
|
|
"abgeschlossen": {
|
|
"columns": ["abgeschlossen"]
|
|
}
|
|
}
|
|
}
|