Add CAdvowareAkten entity and related metadata
- Introduced new entity CAdvowareAkten with fields: name, description, createdAt, modifiedAt, assignedUser, teams, vmhRumungsklage, mietinkasso, aktenzeichen, and aktennummer. - Defined relationships for CAdvowareAkten with existing entities: CVmhRumungsklage and CMietinkasso. - Created client definitions, layouts, and ACL for CAdvowareAkten. - Added internationalization support for CAdvowareAkten in multiple languages. - Updated existing entities and metadata to include references to CAdvowareAkten.
This commit is contained in:
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": false,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"vmhRumungsklage": {
|
||||
"type": "link"
|
||||
},
|
||||
"mietinkasso": {
|
||||
"type": "link"
|
||||
},
|
||||
"aktenzeichen": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"maxLength": 100,
|
||||
"copyToClipboard": true,
|
||||
"readOnlyAfterCreate": true,
|
||||
"options": [],
|
||||
"isCustom": true
|
||||
},
|
||||
"aktennummer": {
|
||||
"type": "int",
|
||||
"required": true,
|
||||
"readOnlyAfterCreate": true,
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasMany",
|
||||
"entity": "Meeting",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasMany",
|
||||
"entity": "Call",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"vmhRumungsklage": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "advowareAkten",
|
||||
"entity": "CVmhRumungsklage",
|
||||
"isCustom": true
|
||||
},
|
||||
"mietinkasso": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "advowareAkten",
|
||||
"entity": "CMietinkasso",
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"textFilterFields": [
|
||||
"name"
|
||||
],
|
||||
"fullTextSearch": false,
|
||||
"countDisabled": false
|
||||
},
|
||||
"indexes": {
|
||||
"name": {
|
||||
"columns": [
|
||||
"name",
|
||||
"deleted"
|
||||
]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": [
|
||||
"assignedUserId",
|
||||
"deleted"
|
||||
]
|
||||
},
|
||||
"createdAt": {
|
||||
"columns": [
|
||||
"createdAt"
|
||||
]
|
||||
},
|
||||
"createdAtId": {
|
||||
"unique": true,
|
||||
"columns": [
|
||||
"createdAt",
|
||||
"id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"optimisticConcurrencyControl": false
|
||||
}
|
||||
@@ -81,6 +81,9 @@
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"isCustom": true
|
||||
},
|
||||
"advowareAkten": {
|
||||
"type": "linkOne"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
@@ -189,6 +192,12 @@
|
||||
"entity": "CPuls",
|
||||
"foreign": "parent",
|
||||
"isCustom": true
|
||||
},
|
||||
"advowareAkten": {
|
||||
"type": "hasOne",
|
||||
"foreign": "mietinkasso",
|
||||
"entity": "CAdvowareAkten",
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
|
||||
@@ -86,6 +86,9 @@
|
||||
"required": false,
|
||||
"default": 0,
|
||||
"isCustom": true
|
||||
},
|
||||
"advowareAkten": {
|
||||
"type": "linkOne"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
@@ -194,6 +197,12 @@
|
||||
"entity": "CPuls",
|
||||
"foreign": "parent",
|
||||
"isCustom": true
|
||||
},
|
||||
"advowareAkten": {
|
||||
"type": "hasOne",
|
||||
"foreign": "vmhRumungsklage",
|
||||
"entity": "CAdvowareAkten",
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"CCallQueues",
|
||||
"CMietinkasso",
|
||||
"CKuendigung",
|
||||
"CPuls"
|
||||
"CPuls",
|
||||
"CAdvowareAkten"
|
||||
]
|
||||
},
|
||||
"cWichtigkeit": {
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"CCallQueues",
|
||||
"CMietinkasso",
|
||||
"CKuendigung",
|
||||
"CPuls"
|
||||
"CPuls",
|
||||
"CAdvowareAkten"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"CCallQueues",
|
||||
"CMietinkasso",
|
||||
"CKuendigung",
|
||||
"CPuls"
|
||||
"CPuls",
|
||||
"CAdvowareAkten"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"CCallQueues",
|
||||
"CMietinkasso",
|
||||
"CKuendigung",
|
||||
"CPuls"
|
||||
"CPuls",
|
||||
"CAdvowareAkten"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user