Skip to content

Domain Model

Alvar Mathias Løvvang Aasgaard edited this page Apr 23, 2026 · 3 revisions

Domain Model

Overview

The system is based on core entities related to donations and users.


Entities

User

  • id
  • created

Donation

  • id
  • amount
  • date
  • user_Id
  • org_number

Charity

  • org_number
  • name
  • approved
  • url
  • description
  • image_url

Account

  • account_id
  • username
  • password
  • user_id

Relationships

  • A user can have multiple donations
  • A donation belongs to one charity
  • A payment is linked to a donation

Diagram

image

Clone this wiki locally