You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
209 B

  1. import { UserItem } from '~/domain/models/user/user'
  2. export class UserDTO {
  3. id: number;
  4. username: string;
  5. constructor(item: UserItem) {
  6. this.id = item.id;
  7. this.username = item.username;
  8. }
  9. }