Files
espocrm/application/Espo/Resources/metadata/entityDefs/Team.json
bsiggel 127fa6503b chore: Update copyright year from 2025 to 2026 across core files
- Updated copyright headers in 3,055 core application files
- Changed 'Copyright (C) 2014-2025' to 'Copyright (C) 2014-2026'
- Added 123 new files from EspoCRM core updates
- Removed 4 deprecated files
- Total changes: 61,637 insertions, 54,283 deletions

This is a routine maintenance update for the new year 2026.
2026-02-07 16:05:21 +01:00

93 lines
2.3 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100,
"pattern": "$noBadCharacters",
"audited": true
},
"roles": {
"type": "linkMultiple",
"tooltip": true,
"audited": true
},
"positionList": {
"type": "array",
"displayAsList": true,
"tooltip": true,
"audited": true
},
"userRole": {
"type": "varchar",
"notStorable": true,
"utility": true
},
"layoutSet": {
"type": "link",
"tooltip": true,
"audited": true
},
"workingTimeCalendar": {
"type": "link",
"tooltip": true,
"audited": true
},
"description": {
"type": "text"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"users": {
"type": "hasMany",
"entity": "User",
"foreign": "teams",
"columnAttributeMap": {
"role": "userRole"
},
"apiSpecDisabled": true
},
"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"
}
}