mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 03:11:07 +00:00
22 lines
674 B
JavaScript
22 lines
674 B
JavaScript
![]() |
import { lang } from '../utils/constants';
|
||
|
import dayjs from 'dayjs';
|
||
|
|
||
|
dayjs.locale(lang);
|
||
|
|
||
|
class OrgGroupMemberAuditLog {
|
||
|
constructor(object) {
|
||
|
this.group_id = object.group_id;
|
||
|
this.group_name = object.group_name;
|
||
|
this.user_contact_email = object.user_contact_email;
|
||
|
this.user_email = object.user_email;
|
||
|
this.user_name = object.user_name;
|
||
|
this.operator_email = object.operator_email;
|
||
|
this.operator_name = object.operator_name;
|
||
|
this.operator_contact_email = object.operator_contact_email;
|
||
|
this.operation = object.operation;
|
||
|
this.time = dayjs(object.date).format('YYYY-MM-DD HH:mm:ss');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default OrgGroupMemberAuditLog;
|