aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/activity.ts
blob: d60e69258c4bb89b61035cb9b98b0cfffebd5d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 * Created by obarda on 19/11/2015.
 */
'use strict';

/*this is in uppercase because of the server response*/
export class Activity {
    TIMESTAMP:string;
    ACTION:string;
    MODIFIER:string;
    STATUS:string;
    DESC:string;
    COMMENT:string;
    //custom data
    public dateFormat:string;

    constructor() {
    }

    public toJSON = ():any => {
        this.dateFormat = undefined;
        return this;
    };

}