BigW Consortium Gitlab

user.js.es6 231 Bytes
Newer Older
1 2
/* eslint-disable no-unused-vars */

3
class ListUser {
4
  constructor(user) {
5 6 7 8 9 10
    this.id = user.id;
    this.name = user.name;
    this.username = user.username;
    this.avatar = user.avatar_url;
  }
}
11 12

window.ListUser = ListUser;