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.

17 lines
403 B

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