Commit 41d20715 authored by Florent Chehab's avatar Florent Chehab

starting to transfer UML to plantUML

parent 5f6f8944
Pipeline #22396 passed with stage
in 1 minute and 51 seconds
@startuml Architecture
skinparam defaultFontName Inconsolata
package Core {
note as notePackageCore
<b>Write access is restricted to site admins and the members of the DRI group.</b>
On some models, users can make requests for modifications (for this a copy of the model is used for storing).
end note
class City #white {
+ name : string
+ local_name : string
+ area : string
}
class Country #white {
# iso_code : string{2}
+ name : string
+ area : string
}
class Region #white {
# iso_code : string {3}
+ name : string
}
City "*" -left-* Country
Country "*" -right- "1" Region
Region "*" -- "0..1" Region
note "Countries and Regions \n are intially hardcoded \n in the db." as N2
Region .. N2
N2 .. Country
class University #wheat {
+ name : string
+ accronyme : string
+ logo : image
}
University "1" .. "1" City
note on link #white
This link is acheived
through the main campus module
end note
class MainCampus
MainCampus "1" -[bold,#green]- "1" University
Class Offer {
+ nb_seats_offered : int
}
Class Semester{
+ name : string
+ searchable : bool
}
Class Departement{
+ name : string
+ accronyme : string
+ searchable : bool
}
Class Specialty {
+ name : string
+ accronyme : string
+ searchable : bool
}
Offer "*" -left- "1" University
Offer "*" -down- "1" Semester
Offer "*" -left- "1..n" Departement
Specialty "1..n" -left- "1" Departement
note "Initial data inserted in db." as N3
Semester .. N3
N3 .. Specialty
N3 .. Departement
}
package AbstractModels {
abstract class Module{
+ icon : string
+ name : string
+ description : string
}
abstract class BasicModule{
+ comment : string
+ usefull_links : JSON \n array of {url,description}
}
abstract class ScholarShip{
+ type : string
+ amount_min : float {}
+ amount_max : float {}
}
abstract class Photo{
+ file : image
+ tile : string
+ description : MD
}
BasicModule --|> Module
Photo --|> Module
ScholarShip --|> BasicModule
abstract class Campus{
+ name : string
+ Comment : MD
+ longitude : float
+ latitude : float
}
Campus --|> Module
}
Campus "*" -[bold,#green]- "1" City
MainCampus --|> Campus
@enduml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment