UniversityModules.pu 1.73 KB
Newer Older
1
@startuml
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

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"
    class PhotoUniversity 
    class ScholarshipUniversity 
    class Courses
    class SpecialOffer
    class OtherStuff

    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
    Courses -up-|> BasicModuleCopyUniversity
    SpecialOffer -up-|> BasicModuleCopyUniversity
    OtherStuff -up-|> BasicModuleCopyUniversity
    SemesterDate -up-|> BasicModuleCopyUniversity
    UniversityInfo -up-|> BasicModuleCopyUniversity

    PhotoUniversity -left-|> PhotoCopyUniversity
    
    ScholarshipUniversity -right-|> ScholarShipCopyUniversity

    class UniversityModules #grey


    CultureUniversity "1" -down[bold,#green]- "1" UniversityModules
    PhotoUniversity "1" -right[bold,#green]- "1" UniversityModules
49
50
51
52
53
    Courses "1" -down[bold,#green]- "1" UniversityModules
    OtherStuff "1" -down[bold,#green]- "1" UniversityModules
    SpecialOffer "1" -down[bold,#green]- "1" UniversityModules
    UniversityInfo "1" -down[bold,#green]- "1" UniversityModules
    SemesterDate "1" -down[bold,#green]- "1" UniversityModules
54
55
56
57
58
59

    ScholarshipUniversity "*" -left- "1" UniversityModules
}
UniversityModules -down[bold,#green]- University

@enduml