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/GroupEmailFolder.json
T
Yuri Kuznetsov e6407bf292 cleanup
2023-05-04 16:48:55 +03:00

57 lines
1.2 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"required": true,
"maxLength": 64,
"pattern": "$noBadCharacters"
},
"order": {
"type": "int"
},
"teams": {
"type": "linkMultiple"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true
},
"modifiedBy": {
"type": "link",
"readOnly": true
}
},
"links": {
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
},
"teams": {
"type": "hasMany",
"entity": "Team",
"foreign": "groupEmailFolders"
},
"emails": {
"type": "hasMany",
"entity": "Email",
"foreign": "groupFolder"
}
},
"collection": {
"orderBy": "order",
"order": "asc"
}
}