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

18 lines
503 B
JavaScript
Raw Normal View History

2018-12-08 08:37:18 +08:00
class Group {
constructor(object) {
this.id= object.id;
this.name = object.name;
this.owner = object.owner;
2018-12-10 11:52:44 +08:00
this.admins = object.admins || [];
2018-12-08 08:37:18 +08:00
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;
2019-01-08 13:55:00 +08:00
this.repos = object.repos || [];
2019-06-27 18:38:23 +08:00
this.group_quota = object.group_quota;
this.group_quota_usage = object.group_quota_usage;
2018-12-08 08:37:18 +08:00
}
}
export default Group;