1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 15:26:19 +00:00
Files
seahub/frontend/src/models/group.js
2019-06-27 18:38:23 +08:00

18 lines
503 B
JavaScript

class Group {
constructor(object) {
this.id= object.id;
this.name = object.name;
this.owner = object.owner;
this.admins = object.admins || [];
this.avatar_url = object.avatar_url;
this.created_at = object.created_at;
this.parent_group_id = object.parent_group_id;
this.wiki_enabled = object.wiki_enabled;
this.repos = object.repos || [];
this.group_quota = object.group_quota;
this.group_quota_usage = object.group_quota_usage;
}
}
export default Group;