Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VKR
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Балаев Жамал Баширович
VKR
Commits
08576349
Commit
08576349
authored
Apr 23, 2025
by
Балаев Жамал Баширович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
eb328ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
0 deletions
+84
-0
Диаграмма_классов__classes__.plantuml
Диаграмма_классов__classes__.plantuml
+84
-0
No files found.
Диаграмма_классов__classes__.plantuml
0 → 100644
View file @
08576349
@startuml
left to right direction
class User {
+id: int
+username: string
+email: string
+passwordHash: string
+createdAt: DateTime
}
class UserProfile {
+userId: int
+progressLevel: int
+experiencePoints: int
+lastActive: DateTime
}
class AuthService {
+login(email: string, password: string): bool
+signUp(username: string, email: string, password: string): User
+resetPassword(email: string): void
}
class Exercise {
+id: int
+title: string
+difficulty: string
+startExercise(): void
+submitAnswer(answer: string): bool
}
class VocabularyExercise {
+word: string
+translation: string
}
class GrammarExercise {
+rule: string
+examples: string[]
}
class LearningMaterial {
+id: int
+title: string
+description: string
}
class VideoMaterial {
+videoUrl: string
+duration: int
}
class TextMaterial {
+content: string
}
class Achievement {
+id: int
+name: string
+description: string
+condition: string
+isUnlocked: bool
}
class AchievementSystem {
+checkProgress(userId: int): void
+unlockAchievement(userId: int, achievementId: int): void
}
User "1" -- "1" UserProfile : has >
User "1" -- "*" Achievement : unlocks >
User --> AuthService : authenticates via
Exercise <|-- VocabularyExercise
Exercise <|-- GrammarExercise
LearningMaterial <|-- VideoMaterial
LearningMaterial <|-- TextMaterial
Exercise "1" -- "*" LearningMaterial : uses >
UserProfile "1" -- "*" Exercise : completes >
AchievementSystem --> User : checks
AchievementSystem --> Achievement : manages
@enduml
\ 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