This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/entityDefs/Notification.json
T
2024-04-01 17:05:57 +03:00

71 lines
1.5 KiB
JSON

{
"fields": {
"number": {
"type": "autoincrement",
"dbType": "bigint",
"index": true
},
"data": {
"type": "jsonObject"
},
"noteData": {
"type": "jsonObject",
"notStorable": true,
"orderDisabled": true
},
"type": {
"type": "varchar"
},
"read": {
"type": "bool"
},
"emailIsProcessed": {
"type": "bool"
},
"user": {
"type": "link"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"message": {
"type": "text"
},
"related": {
"type": "linkParent",
"readOnly": true
},
"relatedParent": {
"type": "linkParent",
"readOnly": true
}
},
"links": {
"user": {
"type": "belongsTo",
"entity": "User"
},
"related": {
"type": "belongsToParent"
},
"relatedParent": {
"type": "belongsToParent"
}
},
"collection": {
"orderBy": "number",
"order": "desc"
},
"indexes": {
"createdAt": {
"type": "index",
"columns": ["createdAt"]
},
"user": {
"type": "index",
"columns": ["userId", "createdAt"]
}
}
}