new branch where the documentation/conception will be updated
continuous-integration/drone/push Build is passing Details

pull/93/head
Maël DAIM 1 year ago
parent ce3570e515
commit a123145acd

@ -29,18 +29,11 @@ class Account {
class Member {
- userId: int
- teamId: int
+ __construct(role : MemberRole)
- role : string
+ __construct(role : string)
+ getUserId(): int
+ getTeamId(): int
+ getRole(): MemberRole
}
Member --> "- role" MemberRole
enum MemberRole {
PLAYER
COACH
+ getRole(): string
}
@ -48,28 +41,34 @@ class TeamInfo {
- creationDate: int
- name: string
- picture: string
- mainColor : string
- secondColor : string
+ getName(): string
+ getPicture(): string
+ getMainColor(): Color
+ getSecondColor(): Color
+ getMainColor(): string
+ getSecondColor(): string
}
TeamInfo --> "- mainColor" Color
TeamInfo --> "- secondaryColor" Color
class Team {
getInfo(): TeamInfo
listMembers(): Member[]
+ __construct()
+ getInfo(): TeamInfo
+ listMembers(): Member[]
}
Team --> "- info" TeamInfo
Team --> "- members *" Member
class Color {
- value: int
class User{
- id : int
- name : string
- email : string
- profilePicture : string
+ getValue(): int
+ __construct(id : int,name : string,email: string,profilePicture:string)
+ getId() : id
+ getName() : string
+ getEmail() : string
+ getProfilePicture() : string
}
@enduml

@ -24,7 +24,6 @@ class TeamInfo implements \JsonSerializable {
$this->secondColor = $secondColor;
}
public function getId(): int {
return $this->id;
}
@ -48,6 +47,4 @@ class TeamInfo implements \JsonSerializable {
public function jsonSerialize() {
return get_object_vars($this);
}
}

Loading…
Cancel
Save