Template
23 lines
528 B
TypeScript
23 lines
528 B
TypeScript
import { ApiRequestTimeoutResponse } from '@nestjs/swagger';
|
|
|
|
export class ConceptResponseDTO {
|
|
constructor(partial: Partial<ConceptResponseDTO>) {
|
|
this.id = partial.id;
|
|
this.value = partial.value;
|
|
this.type = new ConceptTypeResponseDTO(partial.type);
|
|
}
|
|
|
|
id: number;
|
|
value: string;
|
|
type: ConceptTypeResponseDTO;
|
|
}
|
|
|
|
export class ConceptTypeResponseDTO {
|
|
constructor(partial: Partial<ConceptTypeResponseDTO>) {
|
|
this.id = partial.id;
|
|
this.value = partial.value;
|
|
}
|
|
id: number;
|
|
value: string;
|
|
}
|