
π Religious & Spiritual Organisations Β· Database ERD
Tables for a religious trust: devotees, donations to causes, receipts, seva bookings and volunteer shifts.
Drawing diagramβ¦
Trust database: devotees make donations to causes and receive receipts; devotees book sevas (poojas) for a date and slot; volunteers sign up for shifts at events.
erDiagram
DEVOTEE ||--o{ DONATION : gives
CAUSE ||--o{ DONATION : receives
DONATION ||--|| RECEIPT : "acknowledged by"
DEVOTEE ||--o{ SEVA_BOOKING : books
SEVA ||--o{ SEVA_BOOKING : "booked as"
DEVOTEE ||--o{ VOLUNTEER_SHIFT : serves
EVENT ||--o{ VOLUNTEER_SHIFT : needs
DEVOTEE {
int id PK
string name
string mobile
string pan
string city
}
CAUSE {
int id PK
string name
}
DONATION {
int id PK
int devotee_id FK
int cause_id FK
decimal amount
date donated_on
string mode
}
RECEIPT {
int id PK
int donation_id FK
string receipt_no
boolean is_80g
}
SEVA {
int id PK
string name
decimal fee
}
SEVA_BOOKING {
int id PK
int devotee_id FK
int seva_id FK
date seva_date
string slot
}
EVENT {
int id PK
string name
date event_date
}
VOLUNTEER_SHIFT {
int id PK
int devotee_id FK
int event_id FK
string role
string shift
}A digital platform for a large temple trust: darshan and seva bookings, online donations with tax receipts, prasad orders, accommodation and crowd information.
How a devotee books a special darshan slot online: choosing a date, ID verification, holding the slot during payment and getting a QR ticket for entry.
How an online donation to a religious trust is processed, from choosing a cause to issuing an 80G tax receipt and filing donor details with the tax department.
The systems used to manage crowds during a big festival or yatra: cameras, turnstiles and sensors in the field, a command centre, and alerts to police and volunteers.
The states of a prasad order sent by post to a devotee, from payment to delivery, including returns for wrong addresses.
How a community kitchen plans daily meals: expected footfall, ingredient stock, donations in kind, cooking batches and leftovers going to shelters.