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.

14 lines
262 B

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