1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-19 17:39:39 +00:00
seahub/frontend/src/models/org-admin-repo.js
陈钦亮 1b673b5cd5 add org logs (#3190)
* add org logs

* add filter

* refactor code

* fix warnings

* add get repo dict

* Adjust variable position
2019-04-03 16:54:24 +08:00

14 lines
365 B
JavaScript

class OrgAdminRepo {
constructor(object) {
this.repoID = object.repo_id;
this.repoName = object.repo_name;
this.ownerName = object.owner_name;
this.ownerEmail = object.owner_email;
this.encrypted = object.encrypted;
this.isDepartmentRepo = object.is_department_repo;
this.groupID = object.group_id;
}
}
export default OrgAdminRepo;