pdm-shared_files.puml 1016 Bytes
Newer Older
Freezed's avatar
Freezed 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
41
42
@startuml

title Physical data model

/' = = = = = = = STYLE = = = = = = = '/
left to right direction
hide empty methods
hide <<assoc>> circle
skinparam class {
    BackgroundColor<<django.auth>> lightgreen
    BackgroundColor<<assoc>> lightblue
}

/' = = = = = = = MACRO = = = = = = = '/
!define rel(a,b,c,d,e) a c e
!define pyk(n,t="INT") <font color="red">PK:<b>n</b> <size:09>[t]</size></font>
!define fnk(n,r,t="INT") <font color="blue">FK:<b>n</b> <size:09>[t]</size></font>
!define att(n,u,s) {field} <b>n</b> [s]

/' = = = = = = = KEYS = = = = = = = '/
!include part/keys.iuml

/' = = = = = = = CLASSES = = = = = = = '/
!include part/classes.iuml

/' = = = = = = = ATTRIBUTES = = = = = = = '/
!include part/attributes.iuml

/' = = = = = = = ASSOCIATIONS = = = = = = = '/
!include part/associations.iuml

/' = = = = = = = LEGEND = = = = = = = '/
legend
    Data **are shared** within **different** files :
    * classes
    * relations
    * attributes
    * keys
    -> __stay D.R.Y.__ <-
endlegend

@enduml