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 37a37e95c6 utility param
2023-07-10 14:26:35 +03:00

84 lines
2.0 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100,
"pattern": "$noBadCharacters"
},
"roles": {
"type": "linkMultiple",
"tooltip": true
},
"positionList": {
"type": "array",
"displayAsList": true,
"tooltip": true
},
"userRole": {
"type": "varchar",
"notStorable": true,
"utility": true
},
"layoutSet": {
"type": "link",
"tooltip": true
},
"workingTimeCalendar": {
"type": "link",
"tooltip": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"users": {
"type": "hasMany",
"entity": "User",
"foreign": "teams",
"columnAttributeMap": {
"role": "userRole"
}
},
"roles": {
"type": "hasMany",
"entity": "Role",
"foreign": "teams"
},
"notes": {
"type": "hasMany",
"entity": "Note",
"foreign": "teams"
},
"inboundEmails": {
"type": "hasMany",
"entity": "InboundEmail",
"foreign": "teams"
},
"layoutSet": {
"type": "belongsTo",
"entity": "LayoutSet",
"foreign": "teams"
},
"workingTimeCalendar": {
"type": "belongsTo",
"entity": "WorkingTimeCalendar",
"foreign": "teams"
},
"groupEmailFolders": {
"type": "hasMany",
"entity": "GroupEmailFolder",
"foreign": "teams"
}
},
"collection": {
"orderBy": "name",
"order": "asc"
}
}