# dipanshkhandelwal/societymanagementsystem architecture

> Architecture diagram of the GitHub repository dipanshkhandelwal/societymanagementsystem, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dipanshkhandelwal/societymanagementsystem
- Repository: https://github.com/dipanshkhandelwal/societymanagementsystem

## Overview

SocietyManagementSystem is an Android app for gatekeeping in a residential society or office. Its named screens and models indicate account access, resident management, guard records, and service-visitor records. The tree supports these capability areas, but source excerpts do not show screen navigation, persistence, or backend calls; the graph therefore avoids asserting those connections. No database or external service is included because the available evidence does not establish runtime use.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Account access"]
  node_login["Login screen<br/>[LoginActivity.java]"]
  node_signup["Sign-up screen"]
end

subgraph group_residents["Resident management"]
  node_residentlist["Residents screen"]
  node_residentform["Resident form"]
  node_resident["Resident record<br/>[Resident.java]"]
  node_residentadapter["Resident adapter"]
end

subgraph group_gatekeeping["Gatekeeping records"]
  node_main["Main screen<br/>[MainActivity.java]"]
  node_guardform["Guard form<br/>[AddGuardForm.java]"]
  node_guard["Guard record<br/>[Guard.java]"]
  node_guardinfo["Guard details<br/>[GuardInfo.java]"]
  node_guardadapter["Guard adapter<br/>[GuardAdapter.java]"]
  node_serviceform["Service visitor form"]
  node_servicevisitor["Service visitor record"]
  node_serviceinfo["Service visitor details"]
  node_serviceadapter["Service visitor adapter"]
  node_visitor["Visitor record<br/>[Visitor.java]"]
end

node_user(("User"))

click node_login "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/LoginActivity.java"
click node_signup "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/SignUpActivity.java"
click node_main "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/MainActivity.java"
click node_residentlist "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentsActivity.java"
click node_residentform "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentForm.java"
click node_resident "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Resident.java"
click node_residentadapter "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ResidentAdapter.java"
click node_guardform "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddGuardForm.java"
click node_guard "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Guard.java"
click node_guardinfo "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardInfo.java"
click node_guardadapter "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardAdapter.java"
click node_serviceform "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddServiceVisitorForm.java"
click node_servicevisitor "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitor.java"
click node_serviceinfo "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorInfo.java"
click node_serviceadapter "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorAdapter.java"
click node_visitor "https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Visitor.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_signup,node_user toneBlue
class node_residentlist,node_residentform,node_resident,node_residentadapter toneAmber
class node_main,node_guardform,node_guard,node_guardinfo,node_guardadapter,node_serviceform,node_servicevisitor,node_serviceinfo,node_serviceadapter,node_visitor toneMint
```

## Components

### Account access

- [Login screen](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/LoginActivity.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/LoginActivity.java`
- [Sign-up screen](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/SignUpActivity.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/SignUpActivity.java`

### Resident management

- [Residents screen](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentsActivity.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentsActivity.java`
- [Resident form](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentForm.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddResidentForm.java`
- [Resident record](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Resident.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Resident.java`
- [Resident adapter](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ResidentAdapter.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ResidentAdapter.java`

### Gatekeeping records

- [Main screen](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/MainActivity.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/MainActivity.java`
- [Guard form](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddGuardForm.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddGuardForm.java`
- [Guard record](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Guard.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Guard.java`
- [Guard details](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardInfo.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardInfo.java`
- [Guard adapter](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardAdapter.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/GuardAdapter.java`
- [Service visitor form](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddServiceVisitorForm.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/AddServiceVisitorForm.java`
- [Service visitor record](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitor.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitor.java`
- [Service visitor details](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorInfo.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorInfo.java`
- [Service visitor adapter](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorAdapter.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/ServiceVisitorAdapter.java`
- [Visitor record](https://github.com/dipanshkhandelwal/societymanagementsystem/blob/master/app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Visitor.java): `app/src/main/java/com/example/dipanshkhandelwal/societymanagementsystem/Visitor.java`

### Other components

- **User**
