generated from legonzaur/webapp-dto
15 lines
353 B
TypeScript
15 lines
353 B
TypeScript
export class PlayerResponseDTO {
|
|
constructor(partial: Partial<PlayerResponseDTO>) {
|
|
this.score = partial.score;
|
|
this.userId = partial.userId;
|
|
this.id = partial.id;
|
|
this.hasGuessed = partial.hasGuessed;
|
|
// this.user = new UserResponseDTO(partial.user);
|
|
}
|
|
|
|
id: number;
|
|
userId: string;
|
|
score: number;
|
|
hasGuessed: boolean;
|
|
}
|