Branch
A physical or organizational branch location, used for routing, permissions, and reporting.
Branches can nest via parentId/parent/children. Use
branchDetail for a single branch, or branches
to list/search.
object
BranchFields
_id
String!
Unique branch identifier.
title
String
Display name.
parentId
String
Parent branch id. null for top-level branches.
supervisorId
String
User id assigned as supervisor of this branch.
code
String
Optional short code/identifier.
order
String
Sort order among sibling branches.
userIds
[String]
User ids that belong to this branch.
userCount
Int
Number of members in this branch.
children
[Branch]
Direct child branches.
status
String
Lifecycle status of the branch.
address
String
Physical address, if applicable.
hasChildren
Boolean
Whether this branch has any child branches.
آخر تعديل في ١١ أغسطس ٢٠٢٦