-
Notifications
You must be signed in to change notification settings - Fork 1
Class Diagram
Can edited this page Apr 25, 2024
·
4 revisions
classDiagram
class User {
+int ID
+string email
+string username
+string password
}
class UserProfile {
+string profilePicture
+string bio
}
class Post {
+int ID
+string title
+string content
+string pictureURL
+datetime timestamp
}
class Comment {
+int ID
+string content
+datetime timestamp
}
class Like {
+int ID
}
class TeamPage {
+string teamName
+string conference
+string headCoach
+string stadium
+string location
}
class PlayerPage {
+string playerName
+string currentTeam
+list teamsPlayedFor
+string position
+int jerseyNumber
+float height
+int age
+string socialMediaAccount
}
class Bookmark {
+int ID
+datetime bookmarkedOn
}
class PostFeed {
-- Aggregates posts
}
User "1" --> "1" UserProfile : has
User "1" --> "*" Post : creates
User "1" --> "*" Comment : writes
User "1" --> "*" Like : gives
User "1" --> "*" Bookmark : bookmarks
Bookmark "1" --> "1" Post : refers_to
Post "1" --> "*" Comment : includes
Post "1" --> "*" Like : receives
Comment "1" --> "*" Like : receives
TeamPage "1" --> "*" PlayerPage : includes
PlayerPage "*" --> "1" TeamPage : plays_for
- Berat Yılmaz
- Bilge Kaan Güneyli
- Murat Can Kocakulak
- Zeynep Buse Aydın
- Nurullah Uçan
- Ceyhun Sonyürek
- Ahmet Batuhan Canlı
- Talha Ordukaya
- Miraç Öztürk
- Scenario 1: Logging in and Seeing Posts
- Scenario 2: Posting an Exercise Program
- Scenario 3: Posting a Diet Program
- Scenario 4: Rating Another User's Programs
- Scenario 5: Chatting with Another User