- Added new fields to CPuls entity including status, syncStatus, kiAnalyse, and others. - Implemented localization for CPuls in German (de_DE) and English (en_US). - Introduced new API actions for team activation and completion of CPuls. - Created hooks to update team statistics and manage document counts. - Added new entity definitions and metadata for CPulsTeamZuordnung and Team. - Implemented validation logic in formulas to prevent completion of unclean Puls. - Updated layouts for detail and list views of CPuls. - Enhanced user entity with absence tracking fields. - Added scopes for CPuls and CPulsTeamZuordnung.
190 lines
4.8 KiB
JSON
190 lines
4.8 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"type": "varchar",
|
|
"required": true,
|
|
"maxLength": 255,
|
|
"trim": true,
|
|
"isCustom": true
|
|
},
|
|
"status": {
|
|
"type": "enum",
|
|
"options": [
|
|
"Neu",
|
|
"In Verarbeitung",
|
|
"Bereit",
|
|
"In Review",
|
|
"Teilweise abgeschlossen",
|
|
"Abgeschlossen"
|
|
],
|
|
"default": "Neu",
|
|
"required": true,
|
|
"isCustom": true,
|
|
"style": {
|
|
"Neu": "default",
|
|
"In Verarbeitung": "primary",
|
|
"Bereit": "success",
|
|
"In Review": "warning",
|
|
"Teilweise abgeschlossen": "info",
|
|
"Abgeschlossen": "success"
|
|
}
|
|
},
|
|
"syncStatus": {
|
|
"type": "enum",
|
|
"options": ["clean", "unclean"],
|
|
"default": "unclean",
|
|
"required": true,
|
|
"isCustom": true,
|
|
"tooltip": true
|
|
},
|
|
"kiAnalyse": {
|
|
"type": "text",
|
|
"isCustom": true,
|
|
"tooltip": true
|
|
},
|
|
"zusammenfassung": {
|
|
"type": "varchar",
|
|
"maxLength": 500,
|
|
"isCustom": true,
|
|
"tooltip": true
|
|
},
|
|
"anzahlDokumente": {
|
|
"type": "int",
|
|
"readOnly": true,
|
|
"notStorable": false,
|
|
"isCustom": true
|
|
},
|
|
"anzahlTeamsAktiv": {
|
|
"type": "int",
|
|
"readOnly": true,
|
|
"notStorable": false,
|
|
"isCustom": true
|
|
},
|
|
"anzahlTeamsAbgeschlossen": {
|
|
"type": "int",
|
|
"readOnly": true,
|
|
"notStorable": false,
|
|
"isCustom": true
|
|
},
|
|
"finalisiert": {
|
|
"type": "bool",
|
|
"default": false,
|
|
"readOnly": true,
|
|
"isCustom": true,
|
|
"tooltip": true
|
|
},
|
|
"finalisierungsGrund": {
|
|
"type": "enum",
|
|
"options": [
|
|
"Erstes Team",
|
|
"Manuell",
|
|
"Automatisch"
|
|
],
|
|
"readOnly": true,
|
|
"isCustom": true,
|
|
"tooltip": true
|
|
},
|
|
"finalisiertAm": {
|
|
"type": "datetime",
|
|
"readOnly": true,
|
|
"isCustom": true
|
|
},
|
|
"finalisiertVon": {
|
|
"type": "link",
|
|
"entity": "User",
|
|
"readOnly": true,
|
|
"isCustom": true
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"modifiedAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "link",
|
|
"entity": "User",
|
|
"readOnly": true
|
|
},
|
|
"modifiedBy": {
|
|
"type": "link",
|
|
"entity": "User",
|
|
"readOnly": true
|
|
},
|
|
"assignedUser": {
|
|
"type": "link",
|
|
"entity": "User",
|
|
"isCustom": true
|
|
},
|
|
"teams": {
|
|
"type": "linkMultiple",
|
|
"isCustom": true
|
|
}
|
|
},
|
|
"links": {
|
|
"parent": {
|
|
"type": "belongsToParent",
|
|
"entityList": [
|
|
"CVmhRumungsklage",
|
|
"CMietinkasso",
|
|
"CKuendigung"
|
|
]
|
|
},
|
|
"dokumente": {
|
|
"type": "hasMany",
|
|
"entity": "CDokumente",
|
|
"foreign": "puls"
|
|
},
|
|
"teamZuordnungen": {
|
|
"type": "hasMany",
|
|
"entity": "CPulsTeamZuordnung",
|
|
"foreign": "puls"
|
|
},
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"modifiedBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"assignedUser": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"finalisiertVon": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"teams": {
|
|
"type": "hasMany",
|
|
"entity": "Team",
|
|
"relationName": "EntityTeam",
|
|
"layoutRelationshipsDisabled": true
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc",
|
|
"textFilterFields": ["name", "zusammenfassung"]
|
|
},
|
|
"indexes": {
|
|
"parent": {
|
|
"columns": ["parentType", "parentId"]
|
|
},
|
|
"status": {
|
|
"columns": ["status"]
|
|
},
|
|
"syncStatus": {
|
|
"columns": ["syncStatus"]
|
|
},
|
|
"finalisiert": {
|
|
"columns": ["finalisiert"]
|
|
},
|
|
"createdAt": {
|
|
"columns": ["createdAt"]
|
|
}
|
|
}
|
|
} |