12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
/* eslint-disable no-unused-vars */
|
|
|
|
class ListUser {
|
|
constructor(user) {
|
|
this.id = user.id;
|
|
this.name = user.name;
|
|
this.username = user.username;
|
|
this.avatar = user.avatar_url;
|
|
}
|
|
}
|
|
|
|
window.ListUser = ListUser;
|