添加新增功能分析模型。

remotes/checkIfPRContentChanged-1685936013344911664/develop
Mccranky83 2 years ago
parent b1bf78809c
commit 4d9b6bc4c3

BIN
.DS_Store vendored

Binary file not shown.

BIN
model/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

@ -0,0 +1,73 @@
@startuml 分析类图
top to bottom direction
entity Note {
-id: int
-标题: string
-内容: string
-颜色: string
-图片: string
+Note()
+Note(id: int, 标题: string, 内容: string, 颜色: string, 图片: string)
+获取ID(): int
+设置ID(id: int): void
+获取标题(): string
+设置标题(标题: string): void
+获取内容(): string
+设置内容(内容: string): void
' +获取颜色(): string
' +设置颜色(颜色: string): void
' +获取图片(): string
+设置背景(图片: string): void
+选择背景(图片: string): void
+保存(): void
+删除(): void
}
entity NoteService {
-noteDao: NoteDao
+NoteService()
+获取所有便签(): List<Note>
+按照ID获取标签(id: int): Note
+保存/更新(note: Note): void
+删除(id: int): void
}
entity NoteDao {
-dataSource: DataSource
+NoteDao()
+获取所有便签(): List<Note>
+按照ID获取标签(id: int): Note
+保存(note: Note): void
+更新(note: Note): void
+删除(id: int): void
}
entity 显示面板借口 {
+显示所有便签(): void
+显示便签详情(id: int): void
+显示创建便签面板(): void
+显示编辑便签面板(id: int): void
}
entity 系统日志 {
+记录日志(message: string): void
}
entity 日志 {
-message: string
+日志(message: string)
+获取信息(): string
+设置信息(message: string): void
+保存(): void
}
NoteService -> NoteDao
NoteService -> Note
NoteDao -> Note
显示面板借口 -> 系统日志
系统日志 -> 日志
NoteService -> 日志
NoteDao -> 日志
@enduml

Binary file not shown.
Loading…
Cancel
Save