We have discussed the organizational structure of enterprises, including micro-enterprises, small and medium enterprises, and large enterprises. The organizational structure of enterprises reflects the management model of enterprises, some IBeamMDAA concepts need to be clearly understood:
After a user logs on to the system, it also reflects the Root, Owner, and Identity of the enterprise where the user is located ), the following describes these attributes in combination with enterprise organizations.
Micro-enterprises:
When position 1 is logged on to the system:
Root = top-level organization
Owner = top-level organization
Identity = personnel position 1 client
Small and medium enterprises:
When position 1 is logged on to the system:
Root = top-level organization
Owner = top-level organization
Identity = personnel position 1 client
Large enterprises:
When a top-level organization> department 1> personnel position 1 is logged on to the system:
Root = top-level organization
Owner = top-level organization
Identity = personnel position 1 client
When branch 1> department 1> personnel position 1 is logged on to the system:
Root = top-level organization
Owner = branch 1
Identity = personnel position 1 client
When branch 1> subsidiary 1> department 1> personnel position 1 log on to the system:
Root = top-level organization
Owner = molecular Company 1
Identity = personnel position 1 client
After a user logs on to the system, the current user object is IBeamPrincipal. The user identification object of IBeamPrincipal is IBeamIdentity. The IBeamIdentity object already contains PartyID (operator client ID ), ownerID (ID of the current organization of the user) and RootID (ID of the top-level organization of the user's organization ).
The IBeamCriteriaBase class is the base class for all query conditions. It has been defined in the base class: IdentityID (operator client ID), OwnerID (user's current organization ID ), rootID (the ID of the Organization's top-level organization), which can be used directly.
The IBeamCommandBase class is the base class of all commands. It has been defined in the base class: IdentityID (operator client ID), OwnerID (user's current organization ID ), rootID (the ID of the Organization's top-level organization), which can be used directly.