my_model__module.pu 737 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
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
36
37
38
39
40
@startuml 


package my_model #lightgrey{

    abstract class MyModel{
        + moderated_by : user
        + moderated_on : date
        + updated_by : user
        + updated_on : date
    }

    abstract class MyModelVersionned <Will be versionned\n in the app>{
        ----
        get_serializer()
    }

    MyModelVersionned -up-|> MyModel
}

package module #lightgrey{


    abstract class BasicModule{
        + comment : string
        + usefull_links : JSON \n array of {url,description}
    }

    abstract class ScholarShip{
        + type : string
        + amount_min : float {currency}
        + amount_max : float {currency}
    }

    BasicModule -up-|> MyModelVersionned
    ScholarShip -up-|> BasicModule
}


@enduml