
🏢 Real Estate & PropTech · Database ERD
A schema for property management: properties, units, owners, tenants, leases, rent invoices and maintenance requests.
Drawing diagram…
ERD for property management: Owner owns Properties; Property has Units; Lease links a Unit and a Tenant with rent, deposit and dates; RentInvoice is generated monthly per Lease and settled by Payments; MaintenanceRequest is raised by a Tenant for a Unit and assigned to a Vendor.
erDiagram
OWNER ||--o{ PROPERTY : owns
PROPERTY ||--|{ UNIT : contains
UNIT ||--o{ LEASE : "leased via"
TENANT ||--o{ LEASE : signs
LEASE ||--o{ RENT_INVOICE : bills
RENT_INVOICE ||--o{ PAYMENT : "paid by"
UNIT ||--o{ MAINTENANCE_REQUEST : raises
VENDOR ||--o{ MAINTENANCE_REQUEST : handles
UNIT {
int id PK
int property_id FK
string unit_no
decimal area_sqft
}
LEASE {
int id PK
int unit_id FK
int tenant_id FK
decimal monthly_rent
decimal deposit
date start_date
date end_date
}
RENT_INVOICE {
int id PK
int lease_id FK
string month
decimal amount
string status
}A real estate marketplace: listings by owners and brokers, search with maps, lead capture and site-visit booking.
A tenant's path from enquiry to moving in: site visit, application, verification, agreement and deposit.
How a home buyer books a site visit from a listing: slot selection, broker confirmation, reminders and feedback after the visit.
The states of a residential or commercial lease: drafting, signing, active tenancy, renewal, notice and move-out settlement.
The network behind secure building access: card and mobile readers, turnstiles, lifts, visitor kiosks and CCTV on a separate security network.
The steps between buyer, builder, bank and registrar when buying a new flat with a home loan.