Skip to content

Imran-imtiaz48/Charity-Management-System-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The database is designed to facilitate the operations of a charity organization by managing various aspects such as donors, projects, donations, staff, expenses, events, and their relationships.

Donors:

The "Donors" table stores information about individuals or entities who contribute funds or resources to the charity organization. It includes details such as the donor's name, email, and phone number.

Orphans:

The "Orphans" table represents beneficiaries of the charity organization, specifically orphaned children. It contains details such as the orphan's name, age, gender, and the ID of the donor who sponsors them.

Projects:

The "Projects" table contains information about the charitable projects undertaken by the organization. It includes details such as the project title, description, start date, and end date.

Donations:

The "Donations" table tracks all contributions made by donors to specific projects. It includes details such as the donation amount, donation date, and references to the donor and project involved.

CashReceipts:

The "CashReceipts" table records receipts issued for cash donations received by the organization. It contains details such as the receipt number, donation ID, amount, and receipt date.

Staff:

The "Staff" table stores information about the organization's staff members who are employed to manage various operations. It includes details such as the staff member's name, email, and phone number.

Expenses:

The "Expenses" table records all expenses incurred by the organization. It includes details such as the expense description, amount, date, and references to the staff member responsible for the expense.

Events:

The "Events" table represents various events organized by the charity organization, such as fundraising galas or charity auctions. It includes details such as the event title, description, start date, and end date.

EventAttendees:

The "EventAttendees" table establishes a many-to-many relationship between events and attendees (who are donors). It tracks which donors attended which events.

Pledges:

The "Pledges" table tracks commitments made by donors to contribute specific amounts to certain projects. It includes details such as the pledge amount, pledge date, and references to the donor and project involved.

Volunteers:

The "Volunteers" table stores information about individuals who offer their time and skills to support the charity's activities. It includes details such as the volunteer's name, email, phone number, and the date they joined the organization.

Sponsorships:

The "Sponsorships" table records sponsorship agreements between donors and projects. It includes details such as the sponsorship amount, start date, end date, and references to the donor and project involved.

Campaigns:

The "Campaigns" table contains information about fundraising campaigns organized by the charity. It includes details such as the campaign title, description, start date, and end date.

Beneficiaries:

The "Beneficiaries" table records information about individuals who receive aid from the charity. It includes details such as the beneficiary's name, birth date, gender, and the donor associated with their support.

Views:

  • DonationSummaryByProject: This view summarizes donations per project, showing the project title, description, total number of donations, and the total amount donated.
  • TotalDonationsByDonor: This view summarizes donations by each donor, displaying the total number of donations and the total amount donated by each donor.
  • OrphanDonorDetails: This view provides details of orphans and their associated donors, including the orphan's first name, last name, age, and the donor's first and last names.
  • ProjectExpensesSummary: This view summarizes expenses per project, showing the project title, total number of expenses, and the total amount spent.
  • VolunteerSummary: This view provides a summary of volunteers, including their name, email, phone number, and the date they joined the organization.
  • SponsorshipSummary: This view summarizes sponsorships, including the sponsorship amount, start date, end date, and the names of the sponsor and the project.
  • CampaignSummary: This view summarizes campaigns, including the campaign title, description, start date, and end date.
  • BeneficiarySummary: This view provides a summary of beneficiaries, including their name, birth date, and gender.

Stored Procedures:

  • InsertDonation: Inserts a new donation into the "Donations" table.
  • GetDonationSummary: Retrieves a summary of donations grouped by project.
  • InsertVolunteer: Inserts a new volunteer into the "Volunteers" table.
  • InsertSponsorship: Inserts a new sponsorship into the "Sponsorships" table.
  • InsertCampaign: Inserts a new campaign into the "Campaigns" table.
  • InsertBeneficiary: Inserts a new beneficiary into the "Beneficiaries" table.

Overall, this database provides a comprehensive platform for managing the activities and resources of a charity organization, including donor management, project tracking, staff management, expense tracking, event organization, and volunteer coordination.

Releases

No releases published

Packages

No packages published

Languages