audit-log.ts 624 Bytes
Newer Older
kunw's avatar
kunw committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 {
    "log_id": 3,
    "user_id": 0,
    "project_id": 0,
    "repo_name": "library/mysql",
    "repo_tag": "5.6",
    "guid": "",
    "operation": "push",
    "op_time": "2017-02-14T09:22:58Z",
    "username": "admin",
    "keywords": "",
    "BeginTime": "0001-01-01T00:00:00Z",
    "begin_timestamp": 0,
    "EndTime": "0001-01-01T00:00:00Z",
    "end_timestamp": 0
  }
*/
kunw's avatar
kunw committed
19
export class AuditLog {
kunw's avatar
kunw committed
20 21
  log_id: number;
  project_id: number;
kunw's avatar
kunw committed
22
  username: string;
kunw's avatar
kunw committed
23 24
  repo_name: string;
  repo_tag: string;
kunw's avatar
kunw committed
25
  operation: string;
kunw's avatar
kunw committed
26 27 28 29
  op_time: Date;
  begin_timestamp: number = 0;
  end_timestamp: number = 0;
  keywords: string;
kunw's avatar
kunw committed
30
}