Compare commits
1
Commits
1473c5c132
...
a99853f417
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a99853f417 |
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user