Skip to content

Domain model

Marius Stavrum Klepp edited this page Apr 19, 2026 · 3 revisions
classDiagram
    class User {
        -Long id
        -String userName
        -String phoneNumber
        -String eMail
        -String password
    }

    class Donation {
        -Long id
        -BigDecimal amount
        -LocalDateTime dateTime
    }

    class Organization {
        -String orgNumber
        -String name
        -String status
        -String url
        -boolean isPreApproved
    }

    User "1" --> "0..*" Donation : makes
    Donation "0..*" --> "1" Organization : goes to
Loading
Clone this wiki locally