Commit f7ca479b authored by Florent Chehab's avatar Florent Chehab

UML transfer finised, need to add CI and doc

parent 41d20715
Pipeline #22398 passed with stage
in 1 minute and 12 seconds
@startuml indi_func
package AbstractModels #lightgrey{
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 -up-|> Module
Photo -right-|> Module
ScholarShip -right-|> BasicModule
abstract class Campus{
+ name : string
+ Comment : MD
+ longitude : float
+ latitude : float
}
Campus -left|> Module
class CityCopy1 as "City" #red
Campus "*" -right[bold,#green]- "1" CityCopy1
}
package CampusExtra {
abstract class BasicModuleCopyCampusExtra as "BasicModule" #red
class CultureAndStudentLife
class Accomodation
class Transport
CultureAndStudentLife -up-|> BasicModuleCopyCampusExtra
Accomodation -up-|> BasicModuleCopyCampusExtra
Transport -up-|> BasicModuleCopyCampusExtra
}
CultureAndStudentLife -down- Campus
Accomodation -down- Campus
Transport -down- Campus
@enduml
\ No newline at end of file
@startuml CountryModule
package CountryModule{
abstract class PhotoCopyCountry as "Photo" #red
abstract class BasicModuleCopyCountry as "BasicModule" #red
abstract class ScholarShipCopyCountry as "Scholarship" #red
class CultureCountry as "Culture"
class VisaAdministrative
class HealthAssurance
class TransportCountry
class PhotoCountry
class ScholarshipCountry
CultureCountry -up-|> BasicModuleCopyCountry
VisaAdministrative -up-|> BasicModuleCopyCountry
HealthAssurance -up-|> BasicModuleCopyCountry
TransportCountry -up-|> BasicModuleCopyCountry
PhotoCountry -up-|> PhotoCopyCountry
ScholarshipCountry -up-|> ScholarShipCopyCountry
class CountryModules #grey
CultureCountry "1" -down[bold,#green]- "1" CountryModules
VisaAdministrative "1" -down[bold,#green]- "1" CountryModules
HealthAssurance "1" -down[bold,#green]- "1" CountryModules
TransportCountry "1" -down[bold,#green]- "1" CountryModules
PhotoCountry "1" -down[bold,#green]- "1" CountryModules
ScholarshipCountry "*" -down- "*" CountryModules
}
CountryModules -down[bold,#green]- Country
@enduml
\ No newline at end of file
@startuml Architecture
!include core.pu
!include UniversityModules.pu
!include CountryModules.pu
!include AbstractModules.pu
!include indi_func.pu
@enduml
@startuml Architecture
skinparam defaultFontName Inconsolata
package UniversityModule{
abstract class PhotoCopyUniversity as "Photo" #red
abstract class BasicModuleCopyUniversity as "BasicModule" #red
abstract class ScholarShipCopyUniversity as "Scholarship" #red
abstract class CampusCopyUniversity as "Campus" #red
class CultureUniversity as "Culture"
class TransportUniversity
class PhotoUniversity
class ScholarshipUniversity
class Courses
class SpecialOffer
class OtherStuff
class OtherCampus
class SemesterDate{
+ autumn_begin : date
+ autumn_end : date
+ spring_begin : date
+ spring_end : date
}
class UniversityInfo{
+ can_exchange : bool
+ can_double_degree : bool
+ cost_exchange : float
+ cost_double_degree : float
}
CultureUniversity -up-|> BasicModuleCopyUniversity
TransportUniversity -up-|> BasicModuleCopyUniversity
Courses -up-|> BasicModuleCopyUniversity
SpecialOffer -up-|> BasicModuleCopyUniversity
OtherStuff -up-|> BasicModuleCopyUniversity
SemesterDate -up-|> BasicModuleCopyUniversity
UniversityInfo -up-|> BasicModuleCopyUniversity
OtherCampus -up-|> CampusCopyUniversity
PhotoUniversity -left-|> PhotoCopyUniversity
ScholarshipUniversity -right-|> ScholarShipCopyUniversity
class UniversityModules #grey
CultureUniversity "1" -down[bold,#green]- "1" UniversityModules
TransportUniversity "1" -down[bold,#green]- "1" UniversityModules
PhotoUniversity "1" -right[bold,#green]- "1" UniversityModules
Courses "1" -right[bold,#green]- "1" UniversityModules
OtherStuff "1" -right[bold,#green]- "1" UniversityModules
SpecialOffer "1" -right[bold,#green]- "1" UniversityModules
UniversityInfo "1" -right[bold,#green]- "1" UniversityModules
SemesterDate "1" -right[bold,#green]- "1" UniversityModules
ScholarshipUniversity "*" -left- "1" UniversityModules
OtherCampus "*" -left- "1" UniversityModules
}
UniversityModules -down[bold,#green]- University
@enduml
@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
' 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 {
......@@ -39,18 +35,21 @@ class University #wheat {
+ name : string
+ accronyme : string
+ logo : image
+ website : url
}
University "1" .. "1" City
University "1" .right. "1" City
note on link #white
This link is acheived
through the main campus module
end note
abstract class CampusCopy1 as "Campus" #red
class MainCampus
MainCampus "1" -[bold,#green]- "1" University
MainCampus -|> CampusCopy1
MainCampus "1" -[bold,#green]up- "1" University
......@@ -75,7 +74,7 @@ note on link #white
+ searchable : bool
}
Offer "*" -left- "1" University
Offer "*" -right- "1" University
Offer "*" -down- "1" Semester
Offer "*" -left- "1..n" Departement
Specialty "1..n" -left- "1" Departement
......@@ -84,50 +83,12 @@ note on link #white
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
class UsefullLinks #green{
+ content : MD
}
Campus --|> Module
note left of UsefullLinks: It will be a dynamic page \n on the website
}
Campus "*" -[bold,#green]- "1" City
MainCampus --|> Campus
@enduml
' End of Core block
\ No newline at end of file
@startuml indi_func
package IndividualizedFunctionalities #lightblue{
class UniversityCopy1 as "University" #red
class SpecialtyCopy1 as "Specialty" #red
class UserCopy1 as "User" #red
class SemesterCopy1 as "Semester" #red
class RecommendationList{
+ name : string
+ public : bool
+ content : JSON array \n \t University : FK \n \t comment : MD \n \t adequation_grate : integer
}
UniversityCopy1 "*" -up- "*" RecommendationList
SpecialtyCopy1 "1..n" -up- "*" RecommendationList
UserCopy1 "1" -left- "*" RecommendationList
note as N4
Adequation_grade null or [1,6]
tags for custom list
List can be copied by other user if public.
Presentation like ipython notebook.
endnote
N4 .right. RecommendationList
class PreviousDeparture{
+ adequation_comment : MD
+ integration_comment : MD
+ adequation_grade : integer
+ adequation_grade : integer
}
PreviousDeparture "*" -left- "1" UserCopy1
PreviousDeparture "*" -up- "1" SpecialtyCopy1
PreviousDeparture "*" -up- "1" UniversityCopy1
PreviousDeparture "*" -up- "1..n" SemesterCopy1
}
' End of IndividualiedFunctionalities packages
@enduml
\ No newline at end of file
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