Skip to content

Instantly share code, notes, and snippets.

@bibscy
Created October 7, 2019 16:45
Show Gist options
  • Save bibscy/ff225d1459f8ca628eadb647502e263d to your computer and use it in GitHub Desktop.
Save bibscy/ff225d1459f8ca628eadb647502e263d to your computer and use it in GitHub Desktop.
1.
Landlord userType will subscribed to:
a) (locality or city)-(building)-landlord
b) (locality or city)-(street)-landlord
c) (city or locality)-residents <only one of them>
d) (locality or city)-(building or street)-residents
For example if building is NOT empty, create
- (locality or city)-(BUILDING)-residents else if building IS empty
try to create - (locality or city)-(STREET)-residents
Maximum 4 groups.
______________________
2.
Tenant userType will subscribed to:
a) (locality or city)-(building)-tenant
b) (locality or city)-(street)-tenants
c) (city or locality)-residents
d) (locality or city)-(building or street)-residents
For example if building is NOT empty, create
- (locality or city)-(BUILDING)-residents else if building IS empty, then
try to create - (locality or city)-(STREET)-residents
Maximum 4 groups.
_____________________________
3. Concierge office userType will subscribed to:
a) (locality or city)-(building)-tenant
b) (locality or city)-(street)-tenants
c) (locality or city)-(building)-landlord
d) (locality or city)-(street)-landlord
e) (city or locality)-residents
f) (locality or city)-(building or street)-residents
6 groups
____________________________
4 Resident userType will be subscribed to:
a) (city or locality)-residents
b) (locality or city)-(building or street)-residents
2 groups
________________________________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment