generated from legonzaur/webapp-dto
19 lines
399 B
TypeScript
19 lines
399 B
TypeScript
export class WordResponseDTO {
|
|
constructor(partial: Partial<WordResponseDTO>) {
|
|
if (partial.id) this.id = partial.id;
|
|
if (partial.value) this.value = partial.value;
|
|
if (partial.ownerId) this.ownerId = partial.ownerId;
|
|
if (partial.enabled) this.enabled = partial.enabled;
|
|
}
|
|
|
|
id: number;
|
|
|
|
value: string;
|
|
|
|
ownerId: string;
|
|
|
|
enabled: boolean;
|
|
|
|
loading?: boolean = false;
|
|
}
|