You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.1 KiB
75 lines
1.1 KiB
@startuml
|
|
|
|
class TacticInfo {
|
|
- id: int
|
|
- name: string
|
|
- creationDate: string
|
|
- ownerId: string
|
|
- content: string
|
|
|
|
+ getId(): int
|
|
+ getOwnerId(): int
|
|
+ getCreationTimestamp(): int
|
|
+ getName(): string
|
|
+ getContent(): string
|
|
}
|
|
|
|
class Account {
|
|
- email: string
|
|
- token: string
|
|
- name: string
|
|
- id: int
|
|
|
|
+ getMailAddress(): string
|
|
+ getToken(): string
|
|
+ getName(): string
|
|
+ getId(): int
|
|
}
|
|
|
|
class Member {
|
|
- userId: int
|
|
- teamId: int
|
|
|
|
+ __construct(role : MemberRole)
|
|
+ getUserId(): int
|
|
+ getTeamId(): int
|
|
+ getRole(): MemberRole
|
|
}
|
|
|
|
Member --> "- role" MemberRole
|
|
|
|
enum MemberRole {
|
|
PLAYER
|
|
COACH
|
|
}
|
|
|
|
|
|
class TeamInfo {
|
|
- creationDate: int
|
|
- name: string
|
|
- picture: string
|
|
|
|
+ getName(): string
|
|
+ getPicture(): string
|
|
+ getMainColor(): Color
|
|
+ getSecondColor(): Color
|
|
}
|
|
|
|
TeamInfo --> "- mainColor" Color
|
|
TeamInfo --> "- secondaryColor" Color
|
|
|
|
class Team {
|
|
getInfo(): TeamInfo
|
|
listMembers(): Member[]
|
|
}
|
|
|
|
Team --> "- info" TeamInfo
|
|
Team --> "- members *" Member
|
|
|
|
class Color {
|
|
- value: int
|
|
|
|
+ getValue(): int
|
|
}
|
|
|
|
@enduml |