MultiTenant Application - Hierarchical Tenant

Hello Mendix Experts, I am trying to find out if Multitenancy can be applied in a setup where there is Parent Tenant and Multiple Child Tenant. A user from different Child Tenant can not see each others data. But a user from Parent Tenant can see data from all of it child. The hierarchy can be max 3 level. Please let me know if you have any insight on above. All help is appreciated. 
1 answers

If the parent and the child are similar entities, then I would create an entityX having a self-reference. Rename the association to something like ParentEntityX_ChildEntityX and 1-* probably.

You will need BCo_EntityX program logic to prevent a Parent becoming it's own child, or grandchild.