Files
front/dto/wordresponse.dto.ts
T
2024-12-29 12:24:32 +01:00

19 lines
288 B
TypeScript

import { Expose } from 'class-transformer';
export class WordResponseDTO {
constructor(partial: Partial<WordResponseDTO>) {
Object.assign(this, partial);
}
@Expose()
id: number;
@Expose()
value: string;
@Expose()
ownerId: string;
@Expose()
enabled: boolean;
}