generated from legonzaur/webapp-dto
12 lines
265 B
TypeScript
12 lines
265 B
TypeScript
export class MessageResponseDTO {
|
|
constructor(partial: Partial<MessageResponseDTO>) {
|
|
this.id = partial.id;
|
|
this.value = partial.value;
|
|
if (partial.authorId) this.authorId = partial.authorId;
|
|
}
|
|
|
|
id: number;
|
|
value: string;
|
|
authorId?: string;
|
|
}
|