-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52a4619
commit 3f44dad
Showing
5 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.3 KB
...imgs/expressjs/monitor-app-prismajs-user/monitor-db-relations-logical-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions
56
public/imgs/expressjs/monitor-app-prismajs-user/monitor-db-relations-logical-model.pu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@startuml | ||
hide circle | ||
scale 1.5 | ||
skinparam linetype ortho | ||
skinparam monochrome true | ||
left to right direction | ||
|
||
entity "Tag" as tag { | ||
id | ||
-- | ||
name | ||
} | ||
|
||
entity "Host" as host { | ||
id | ||
-- | ||
name | ||
address | ||
} | ||
|
||
entity "Ping" as ping { | ||
id | ||
-- | ||
createAt | ||
} | ||
|
||
entity "Stats" as stats { | ||
id | ||
-- | ||
transmitted | ||
received | ||
time | ||
} | ||
|
||
entity "Icmp" as icmp { | ||
id | ||
-- | ||
seq | ||
ttl | ||
time | ||
} | ||
|
||
entity "User" as user { | ||
id | ||
-- | ||
name | ||
password | ||
} | ||
|
||
tag }o--o{ host | ||
host ||--|{ ping | ||
ping ||--o| stats | ||
ping ||-upo{ icmp | ||
user ||-upo{ ping | ||
@enduml |
Binary file added
BIN
+65.9 KB
...mgs/expressjs/monitor-app-prismajs-user/monitor-db-relations-physical-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions
68
public/imgs/expressjs/monitor-app-prismajs-user/monitor-db-relations-physical-model.pu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
@startuml | ||
hide circle | ||
scale 1.5 | ||
skinparam linetype ortho | ||
skinparam monochrome true | ||
left to right direction | ||
|
||
entity "Tag" as tag { | ||
*id : int | ||
-- | ||
name : varchar(100) | ||
} | ||
|
||
entity "TagsOnHosts" as tp { | ||
*id : int | ||
-- | ||
*tagId : int <<FK>> | ||
*hostId : int <<FK>> | ||
} | ||
|
||
entity "Host" as host { | ||
*id : int | ||
-- | ||
name : varchar(100) | ||
address : varchar(100) | ||
} | ||
|
||
entity "Ping" as ping { | ||
*id : int | ||
*hostId : int <<FK>> | ||
*statsId : int <<FK>> | ||
*userId : int <<FK>> | ||
-- | ||
createAt : datetime | ||
} | ||
|
||
entity "Stats" as stats { | ||
*id : int | ||
-- | ||
transmitted : int | ||
received : int | ||
time : float | ||
} | ||
|
||
entity "Icmp" as icmp { | ||
*id : int | ||
*ping_id : int <<FK>> | ||
-- | ||
seq : int | ||
ttl : int | ||
time : float | ||
} | ||
|
||
entity "User" as user { | ||
*id : int | ||
-- | ||
name: varchar(100) | ||
email: varchar(100) | ||
password: varchar(30) | ||
} | ||
|
||
tag ||-upo{ tp | ||
tp }o--|| host | ||
host ||--|{ ping | ||
ping ||--o| stats | ||
ping ||-upo{ icmp | ||
user ||-upo{ ping | ||
@enduml |