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/Team.json
T
2018-10-22 15:11:06 +03:00

53 lines
1.1 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100,
"trim": true
},
"roles": {
"type": "linkMultiple",
"tooltip": true
},
"positionList": {
"type": "array",
"tooltip": true
},
"userRole": {
"type": "varchar",
"notStorable": true,
"disabled": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"users": {
"type": "hasMany",
"entity": "User",
"foreign": "teams"
},
"roles": {
"type": "hasMany",
"entity": "Role",
"foreign": "teams"
},
"notes": {
"type": "hasMany",
"entity": "Note",
"foreign": "teams"
},
"inboundEmails": {
"type": "hasMany",
"entity": "InboundEmail",
"foreign": "teams"
}
},
"collection": {
"orderBy": "name",
"order": "asc"
}
}