Template
working on words
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Expose } from 'class-transformer';
|
||||
|
||||
export class UserResponseDTO {
|
||||
constructor(partial: Partial<UserResponseDTO>) {
|
||||
Object.assign(this, partial);
|
||||
this.id = partial.id;
|
||||
}
|
||||
@Expose()
|
||||
id: string;
|
||||
|
||||
@Expose()
|
||||
username: string;
|
||||
|
||||
@Expose()
|
||||
avatar: string;
|
||||
}
|
||||
Reference in New Issue
Block a user