2021-05-28 22:20:20 +02:00
|
|
|
@startuml
|
|
|
|
|
|
|
|
' hide the spot
|
|
|
|
hide circle
|
|
|
|
|
|
|
|
' avoid problems with angled crows feet
|
|
|
|
skinparam linetype ortho
|
|
|
|
|
|
|
|
entity "user" as user {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
*nickname : text(25)
|
2021-06-20 13:48:08 +02:00
|
|
|
*created: datetime
|
|
|
|
*updated: datetime
|
|
|
|
}
|
|
|
|
|
|
|
|
entity user_profile {
|
|
|
|
*id : number <<generated>>
|
|
|
|
*userid
|
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
pronouns : text(25)
|
|
|
|
fullname: text(100)
|
|
|
|
volunteerwork: text(4000)
|
|
|
|
freetext: text(4000)
|
2021-06-20 13:48:08 +02:00
|
|
|
*profile_visible: bool
|
2021-06-11 00:26:30 +02:00
|
|
|
*created: datetime
|
|
|
|
*updated: datetime
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
2021-06-20 13:48:08 +02:00
|
|
|
user ||-o{ user_profile : user_has_profile
|
2021-05-28 22:20:20 +02:00
|
|
|
|
2021-06-11 00:26:30 +02:00
|
|
|
entity user_address {
|
|
|
|
*id : number <<generated>>
|
|
|
|
*userid
|
|
|
|
--
|
|
|
|
street: text(25)
|
|
|
|
house_number: text(10)
|
|
|
|
additional: text(25)
|
|
|
|
postcode: text(10)
|
|
|
|
city: text(25)
|
|
|
|
country: text(25)
|
|
|
|
}
|
|
|
|
user ||-o{ user_address : user_has_address
|
|
|
|
|
2021-05-28 22:20:20 +02:00
|
|
|
entity user_skill {
|
2021-06-11 00:26:30 +02:00
|
|
|
*user_id: id
|
|
|
|
*skill_id: id
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
|
|
|
level: number
|
|
|
|
}
|
|
|
|
|
|
|
|
entity user_language {
|
2021-06-11 00:26:30 +02:00
|
|
|
*user_id: id
|
|
|
|
*language_id: id
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
|
|
|
level: number
|
|
|
|
}
|
|
|
|
|
|
|
|
entity skill {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
*name: text(25)
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
entity user_experience {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
|
|
|
*user_id
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
|
|
|
description
|
|
|
|
start: date
|
|
|
|
end: date
|
|
|
|
}
|
|
|
|
|
2021-06-11 00:26:30 +02:00
|
|
|
entity user_experience_experience {
|
|
|
|
*user_experience_id
|
|
|
|
*experience_id
|
|
|
|
}
|
|
|
|
|
|
|
|
user ||--o{ user_experience : user_has_experience
|
|
|
|
user_experience ||--o{ user_experience_experience : user_experience_is_tagged_with
|
|
|
|
|
|
|
|
entity experience {
|
|
|
|
*id : number <<generated>>
|
|
|
|
--
|
|
|
|
*name: text(25)
|
|
|
|
}
|
|
|
|
user_experience_experience }o--|| experience
|
|
|
|
|
|
|
|
|
2021-05-28 22:20:20 +02:00
|
|
|
entity user_search_topic {
|
2021-06-11 00:26:30 +02:00
|
|
|
*user_id
|
|
|
|
*topic_id
|
|
|
|
--
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
entity user_contact {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
|
|
|
*user_id
|
|
|
|
*contact_type_id
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
*content: text(200)
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
entity topic {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
|
|
|
*name: text
|
|
|
|
}
|
|
|
|
|
|
|
|
entity language {
|
2021-06-11 00:26:30 +02:00
|
|
|
*id : number <<generated>>
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
*name: text(25)
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
|
|
|
|
2021-06-11 00:26:30 +02:00
|
|
|
entity contact_type {
|
|
|
|
*id : number <<generated>>
|
2021-05-28 22:20:20 +02:00
|
|
|
--
|
2021-06-11 00:26:30 +02:00
|
|
|
*name: text(25)
|
2021-05-28 22:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
user ||--o{ user_skill : user_has_skills
|
2021-06-11 00:26:30 +02:00
|
|
|
user_skill ||--o{ skill
|
2021-06-08 22:14:58 +02:00
|
|
|
|
2021-06-11 00:26:30 +02:00
|
|
|
user ||--o{ user_language : user_speaks_language
|
|
|
|
user_language||--{ language
|
2021-06-08 22:14:58 +02:00
|
|
|
|
2021-06-11 00:26:30 +02:00
|
|
|
user ||--o{ user_search_topic
|
|
|
|
user_search_topic ||--o{ topic
|
2021-05-28 22:20:20 +02:00
|
|
|
|
2021-06-08 22:14:58 +02:00
|
|
|
user ||-o{ user_contact
|
2021-06-11 00:26:30 +02:00
|
|
|
user_contact ||-o{ contact_type
|
2021-06-08 22:14:58 +02:00
|
|
|
|
2021-05-28 22:20:20 +02:00
|
|
|
@enduml
|