summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/model/user.ts
blob: 7039d89c0e50e6e69a204aebe6c811f6dff38b70 (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
import {GlobunetUser} from 'globunet-angular/core';

export class UserPreferences {
    ous: {showGrid: boolean};
    theme: string;
    language: string;

    constructor() {
        this.ous = {
            showGrid: true
        };
        this.theme = 'skin-blue';
        this.language = 'es';
    }
}


export class User extends GlobunetUser {
    preferences?: UserPreferences;

    constructor() {
        super();
        this.preferences = new UserPreferences();
    }
}