diff --git a/dto/conceptresponse.dto.ts b/dto/conceptresponse.dto.ts index 78b9b75..05d889f 100644 --- a/dto/conceptresponse.dto.ts +++ b/dto/conceptresponse.dto.ts @@ -1,9 +1,22 @@ +import { ApiRequestTimeoutResponse } from '@nestjs/swagger'; + export class ConceptResponseDTO { constructor(partial: Partial) { 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) { + this.id = partial.id; + this.value = partial.value; + } + id: number; + value: string; }