1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 02:42:47 +00:00
Files
seahub/frontend/src/models/shared-link-info.js
2018-12-27 10:24:34 +08:00

22 lines
552 B
JavaScript

class SharedLinkInfo {
constructor(object) {
this.repo_id = object.repo_id;
this.repo_name = object.repo_name;
this.path = object.path;
this.obj_name = object.obj_name;
this.is_dir = object.is_dir;
this.permissions = object.permissions;
this.username = object.username;
this.is_expired = object.is_expired;
this.expire_date = object.expire_date;
this.token = object.token;
this.link = object.link;
this.view_cnt = object.view_cnt;
this.ctime = object.ctime;
}
}
export default SharedLinkInfo;