-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobject.iuml
78 lines (62 loc) · 1.75 KB
/
object.iuml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@startuml
skinparam objectFontSize 20
object bank
object administrator {
email = "[email protected]"
password = "supersecretadminpassword"
}
object user1 {
email = "[email protected]"
password = "password"
phoneNumber = "+37253123456"
}
object account1 {
IBAN = "EE471000001020145685"
balance = 90.0
}
object account2 {
IBAN = "EE471000001020132459"
balance = 10.0
}
object user2 {
email = "[email protected]"
password = "qwerty"
phoneNumber = "+37253654321"
}
object transaction1 {
id = 417eacbe-52ef-4ceb-a8c3-fbcc177a0134
description = "Special operation"
sum = 100.0
}
object transaction2 {
id = ccac7c71-c32d-43a7-9d08-8e03f230214a
description = "Thanks!"
sum = 10.0
}
object postgrestransactionlogger {
connectionString = "postgresql://postgres:postgres@postgres:5432/transaction_logs"
}
object logentry1 {
dateTime = Tue Nov 16 04:50:19 PM EET 2021
description = "Transaction 417eacbe-52ef-4ceb-a8c3-fbcc177a0134 was created"
}
object logentry2 {
dateTime = Tue Nov 19 02:39:57 PM EET 2021
description = "Transaction ccac7c71-c32d-43a7-9d08-8e03f230214a was created"
}
bank "administrators" *-up- "bank" administrator
bank "users" *-left- user1
bank "users" *-right- user2
bank "accounts" *-down- account1
bank "accounts" *-down- account2
bank "transactions" *-- transaction1
bank "transactions" *-- transaction2
bank "transactionLogger" *-up- postgrestransactionlogger
postgrestransactionlogger "logs" *-up- logentry1
postgrestransactionlogger "logs" *-up- logentry2
account1 "user" *-up- user1
account2 "user" *-up- user2
account1 "transactions" o-- "recipient" transaction1
account1 "transactions" o-- "sender" transaction2
account2 "transactions" o-- "recipient" transaction2
@enduml