165 lines
4.0 KiB
JSON
165 lines
4.0 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"beteiligte": {
|
|
"type": "link",
|
|
"readOnlyAfterCreate": true,
|
|
"readOnly": false,
|
|
"createButton": true
|
|
},
|
|
"adresse": {
|
|
"type": "address",
|
|
"isCustom": true,
|
|
"copyToClipboard": true
|
|
},
|
|
"isActive": {
|
|
"type": "bool",
|
|
"default": true,
|
|
"isCustom": true
|
|
},
|
|
"autoapplymietverhaltnisportaluser": {
|
|
"notNull": true,
|
|
"type": "bool",
|
|
"default": true,
|
|
"audited": true,
|
|
"readOnlyAfterCreate": true,
|
|
"isCustom": true
|
|
},
|
|
"advowareindexid": {
|
|
"type": "int",
|
|
"readOnly": true,
|
|
"isCustom": true
|
|
},
|
|
"adressid": {
|
|
"type": "int",
|
|
"required": false,
|
|
"tooltip": true,
|
|
"isCustom": true
|
|
},
|
|
"advowareLastSync": {
|
|
"type": "datetime",
|
|
"required": false,
|
|
"readOnly": true,
|
|
"tooltip": true,
|
|
"isCustom": true
|
|
},
|
|
"syncStatus": {
|
|
"type": "enum",
|
|
"required": false,
|
|
"options": [
|
|
"pending_sync",
|
|
"clean",
|
|
"unclean",
|
|
"failed"
|
|
],
|
|
"style": {
|
|
"pending_sync": "default",
|
|
"clean": "success",
|
|
"unclean": "warning",
|
|
"failed": "danger"
|
|
},
|
|
"default": "pending_sync",
|
|
"tooltip": 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
|
|
},
|
|
"beteiligte": {
|
|
"type": "belongsTo",
|
|
"foreign": "adressens",
|
|
"entity": "CBeteiligte",
|
|
"audited": false,
|
|
"isCustom": true
|
|
},
|
|
"contactsAdressen": {
|
|
"type": "hasMany",
|
|
"relationName": "cAdressenContact",
|
|
"foreign": "cAdressenContact",
|
|
"entity": "Contact",
|
|
"audited": false,
|
|
"isCustom": true
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc"
|
|
},
|
|
"indexes": {
|
|
"name": {
|
|
"columns": [
|
|
"name",
|
|
"deleted"
|
|
]
|
|
},
|
|
"assignedUser": {
|
|
"columns": [
|
|
"assignedUserId",
|
|
"deleted"
|
|
]
|
|
},
|
|
"createdAt": {
|
|
"columns": [
|
|
"createdAt"
|
|
]
|
|
},
|
|
"createdAtId": {
|
|
"unique": true,
|
|
"columns": [
|
|
"createdAt",
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
} |