Traditional property management software assumes a simple 1:1 relationship: one lease, one apartment, one monthly invoice.

When we started building PulseHub, an accommodation management platform for HMOs, student housing, co-living spaces, and hostels, we quickly realized that standard real estate data models fall apart in room-based operations. In a student hall or hostel, a single room has multiple beds, residents move mid-month, shared utilities get split dynamically, and managers run daily operations from their phones rather than a desktop dashboard.

Here is a look at the core architectural decisions we made to handle bed-level occupancy, audit trails, and conversational workflows.

1. Modeling Bed-Level Occupancy Without Double-Booking

In multi-bed accommodations, availability is time-bound and hierarchical: Property → Floor/Unit → Room → Bed.

Instead of storing a simple status: "occupied" | "available" boolean on a room or bed, we modeled occupancy as date-bounded allocation intervals. A bed's availability for any target window [startDate, endDate) is computed by checking for overlapping active allocations:

SELECT b.id, b.label FROM beds b WHERE b.room_id = \$1 AND NOT EXISTS ( SELECT 1 FROM bed_allocations a WHERE a.bed_id = b.id AND a.status IN ('active', 'reserved') AND a.start_date < \$3 -- requested end_date AND (a.end_date IS NULL OR a.end_date > \$2) -- requested start_date ); 

Why Interval Queries Beat Status Flags

  • Future Reservations: Operators can assign a bed to an incoming student two months before the current resident moves out.
  • Mid-Month Room Transfers: Moving a resident from Room 102-B to Room 204-A simply closes the first allocation interval and opens a second one on the transfer date, keeping occupancy math accurate to the day.
  • Vacancy Leakage Visibility: Calculating exact vacant bed-days makes it easy to quantify lost revenue. (If you manage room-based units, we released a free Accommodation Occupancy & Revenue Calculator to model how small vacancy and arrears percentages impact net profit.)

2. The Event-Sourced Resident Timeline

When a tenant disputes a security deposit deduction six months after moving in, reconstructing their history from separate payment tables, maintenance tickets, and chat logs is painful.

To solve this, every state-changing action in PulseHub's accommodation management software appends an immutable event to a unified Resident Timeline:

type TimelineEventType = | 'ADMISSION_CREATED' | 'BED_ASSIGNED' | 'ROOM_CHANGED' | 'CHARGE_POSTED' | 'PAYMENT_RECORDED' | 'DEPOSIT_HELD' | 'DEPOSIT_REFUNDED' | 'COMPLAINT_LOGGED'; interface ResidentTimelineEvent { id: string; residentId: string; propertyId: string; type: TimelineEventType; occurredAt: string; actorId: string; metadata: Record<string, unknown>; } 

Separating the Payments Ledger (which tracks cash flow and reconciliation) from the Resident Timeline (which preserves chronological context) gives property teams a complete audit trail without cluttering financial reports.

3. Building "Ask Pulse": Read/Write Operations Inside WhatsApp

One surprising discovery from talking to hostel and HMO managers was that most of them rarely sit in front of a laptop during the day. They inspect rooms, collect cash or bank transfers on-site, and answer resident messages on WhatsApp.

Instead of forcing them to open a web dashboard for routine checks, we built Ask Pulse, a conversational AI assistant inside WhatsApp that connects directly to their scoped tenant data via strict tool-calling:

  1. Intent & Guardrail Layer: Incoming WhatsApp messages are verified against the sender's registered phone number and role permissions (Owner, Manager, Staff).
  2. Scoped Read Tools: Queries like "Who still owes rent in Building B?" or "How many beds are free this weekend?" map to parameterized, read-only database functions filtered strictly by organization_id.
  3. Confirmed Write Actions: Actions like "Mark Ali's $450 rent as paid" or "Send a payment reminder to overdue rooms" execute deterministic backend mutations—never raw SQL—and log an entry straight to the resident's timeline.
  4. Zero Payment Custody: Because Ask Pulse is an operational assistant rather than a payment gateway, it records and reconciles transactions without ever touching or moving funds.

4. Open Operational Standards for Scaling Landlords

Software only works if the underlying operational workflow is consistent. Many operators start with paper clipboards before outgrowing spreadsheets at 10+ rooms.

To help smaller landlords standardize their room turnovers, we also published a free, open-source Resident Move-In & Room Turnover Checklist covering pre-arrival verification, meter readings, and deposit documentation.

Key Takeaways for Vertical SaaS Builders

  • Model time, not just state: Anywhere inventory is shared or time-bound, interval overlap queries save months of edge-case bug fixes.
  • Meet users where they already work: For field-heavy industries like property operations, a well-scoped WhatsApp interface often drives higher daily retention than a complex mobile app.
  • Build small, useful micro-tools: Standalone calculators and checklists solve immediate problems for your target audience while organically introducing them to your core platform.

If you are building vertical SaaS or working on multi-tenant booking systems, I would love to hear how you handle time-bound inventory and audit logs in the comments!