Campus.pu 816 Bytes
Newer Older
1
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
@startuml


package Campus {

    abstract class Campus{
        + is_main_campus : bool
        + name : string
        + Comment : MD
        + longitude : float
        + latitude : float
    }
    class CityCopy1 as "City" #red
    Campus "*" -left[bold,#green]- "1" CityCopy1

    abstract class ModuleCopyCampusExtra as "Module" #red
    Campus -down|> ModuleCopyCampusExtra

    abstract class BasicModuleCopyCampusExtra as "BasicModule" #red

    class CultureAndStudentLife
    class Accomodation
    class Transport

    CultureAndStudentLife -up-|> BasicModuleCopyCampusExtra
    Accomodation -up-|> BasicModuleCopyCampusExtra
    Transport -up-|> BasicModuleCopyCampusExtra

    CultureAndStudentLife -- Campus
    Accomodation -- Campus
    Transport -- Campus
}

Campus "1..n" -- "1" University
@enduml