Problem Statement

We’re in the midst of evolving our Society Management Panel, which today is tightly bound to an Apartment → Block → Floor → Flat hierarchy. ****At its core, every building, every unit and every filter assumes that four-tier structure—so much so that our database tables, API endpoints, and even the smallest dropdown in the UI all expect floors and blocks to exist.

In reality, many communities consist of standalone houses that have no concept of floors or blocks. While apartments nest neatly into blocks and floors, houses sit on single plots of land, each with its own address but no sub-levels. This mismatch means that when a housing-only or mixed community is loaded into our panel, floor and block fields break, filters show empty options, and reports either omit houses entirely or display confusing “n/a” entries.

🎯 Objectives

<aside> 💡

Main Problem :

</aside>

AdobeStock_122809314.jpeg

1. Detailed Analysis of Current State & Challenges

1.1. Current Hierarchy & Assumptions:

Data Representation Examples

Apartment Example

{
  "property": "Green Towers",
  "type": "apartment",
  "block": "A",
  "floor": 3,
  "unit": "302"
}

Housing Example

{
  "property": "Maple Residency",
  "type": "house",
  "house": "H-12"
}

ddddd