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.
 
 
 
 
 
 

21 lines
366 B

export class MemberItem {
id: number
user: number
role: number
username: string
rolename: string
get isProjectAdmin(): boolean {
return this.rolename === 'project_admin'
}
toObject(): Object {
return {
id: this.id,
user: this.user,
role: this.role,
username: this.username,
rolename: this.rolename
}
}
}