Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
M3156
iTool_UI
Commits
7cc6f2ce
Commit
7cc6f2ce
authored
Apr 06, 2019
by
M3156
Browse files
Update README.md
parent
c3afb315
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7cc6f2ce
...
...
@@ -173,8 +173,89 @@ laitetaan joko jäähylle tai jäädytetään kokonaan.
User --> ProfileWindow
Tool --|> User
User --> DB
@enduml
```
# Luokkamalli
```
plantuml
@startuml
class User {
+userID
+userEmail
#userPassword
+userFirstName
+userLastName
+userMobile
+userPicture
+userLocation
+userPaymentMethod
+addTool()
+deleteTool()
+rentTool()
+returnTool()
+comment()
#editEmail()
#editPassword()
+login()
+logout()
}
class Tool {
+toolID
+toolName
+toolCategory
+toolDescription
+toolImage
}
class MainWindow {
Opne()
Close()
Show()
}
class RegisterWindow {
Opne()
Close()
Show()
}
class MainPage {
Opne()
Close()
Show()
}
class ProfileWindow {
Opne()
Close()
Show()
}
class CommentWindow {
Opne()
Close()
Show()
}
class DB {
GetConnectionString()
GetUsersFromMysql()
GetToolOwnerFromMysql()
EmailChecker()
GetToolsFromMysql()
GetOwnedToolsFromMysql()
AddTransactionToMysql()
}
CommentWindow --|> MainPage
RegisterWindow --|> MainWindow
MainWindow --> MainPage
MainPage --> ProfileWindow
User --> MainPage
User --> ProfileWindow
Tool --|> User
User --> DB
@enduml
```
\ No newline at end of file
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment