AbstractModules.pu 1.27 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64


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