Compare commits

...
1 Commits
Author SHA1 Message Date
legonzaur a99853f417 feat: add concept type 2025-01-13 22:14:45 +01:00
+13
View File
@@ -1,9 +1,22 @@
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;
}