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
Yuri Kuznetsov e45b98d684 team roles
2014-11-11 13:03:35 +02:00

38 lines
766 B
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100
},
"roles": {
"type": "linkMultiple",
"tooltip": true
},
"positionList": {
"type": "array",
"tooltip": true
},
"userRole": {
"type": "varchar",
"notStorable": true,
"disabled": true
}
},
"links": {
"users": {
"type": "hasMany",
"entity": "User",
"foreign": "teams"
},
"roles": {
"type": "hasMany",
"entity": "Role",
"foreign": "teams"
}
},
"collection": {
"sortBy": "name",
"asc": true
}
}