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.

18 lines
360 B

  1. import { MemberItem } from '~/domain/models/member/member'
  2. export class MemberDTO {
  3. id: number;
  4. user: number;
  5. role: number;
  6. username: string;
  7. rolename: string;
  8. constructor(item: MemberItem) {
  9. this.id = item.id;
  10. this.user = item.user;
  11. this.role = item.role;
  12. this.username = item.username;
  13. this.rolename = item.rolename;
  14. }
  15. }