UniversityModules.pu 1.84 KB
Newer Older
1
@startuml
2 3 4 5 6 7 8 9 10 11 12

skinparam defaultFontName Inconsolata



package UniversityModule{
    abstract class PhotoCopyUniversity as "Photo" #red
    abstract class BasicModuleCopyUniversity as "BasicModule" #red
    abstract class ScholarShipCopyUniversity as "Scholarship" #red

    class CultureUniversity as "Culture"
13
    class PhotoUniversity
14 15 16
    class Courses
    class SpecialOffer
    class OtherStuff
17
    class Insurances
18

Florent Chehab's avatar
Florent Chehab committed
19
    class SemestersDates{
20 21 22 23 24 25 26
        + autumn_begin : date
        + autumn_end : date
        + spring_begin : date
        + spring_end : date
    }

    class UniversityInfo{
27 28
        + cost_exchange : float
        + cost_double_degree : float
29
    }
30

31 32 33 34
    CultureUniversity -up-|> BasicModuleCopyUniversity
    Courses -up-|> BasicModuleCopyUniversity
    SpecialOffer -up-|> BasicModuleCopyUniversity
    OtherStuff -up-|> BasicModuleCopyUniversity
35
    Insurances -up-|> BasicModuleCopyUniversity
Florent Chehab's avatar
Florent Chehab committed
36
    SemestersDates -up-|> BasicModuleCopyUniversity
37 38 39
    UniversityInfo -up-|> BasicModuleCopyUniversity

    PhotoUniversity -left-|> PhotoCopyUniversity
40

41
    UniversityScholarship -right-|> ScholarShipCopyUniversity
42

Florent Chehab's avatar
Florent Chehab committed
43
    class UniversityVirtualCopy as "University" < copy for\n cleaner UML> #lightgrey
44 45


Florent Chehab's avatar
Florent Chehab committed
46 47 48 49
    CultureUniversity "1" -down[bold,#green]- "1" UniversityVirtualCopy
    PhotoUniversity "1" -right[bold,#green]- "1" UniversityVirtualCopy
    Courses "1" -down[bold,#green]- "1" UniversityVirtualCopy
    OtherStuff "1" -down[bold,#green]- "1" UniversityVirtualCopy
50
    Insurances "1" -down[bold,#green]- "1" UniversityVirtualCopy
Florent Chehab's avatar
Florent Chehab committed
51 52
    SpecialOffer "1" -down[bold,#green]- "1" UniversityVirtualCopy
    UniversityInfo "1" -down[bold,#green]- "1" UniversityVirtualCopy
Florent Chehab's avatar
Florent Chehab committed
53
    SemestersDates "1" -down[bold,#green]- "1" UniversityVirtualCopy
54

Florent Chehab's avatar
Florent Chehab committed
55
    UniversityScholarship "*" -left- "1" UniversityVirtualCopy
56
}
Florent Chehab's avatar
Florent Chehab committed
57
UniversityVirtualCopy -down[bold,#green]- University
58 59

@enduml