Devices have replaced Clients for authentication as well as location using sections.
Printing of reports done. Main section is now a fixture User and Devices list gives last login details.
This commit is contained in:
@ -3,5 +3,13 @@ import { Section } from './section';
|
||||
export class Device {
|
||||
id: string;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
section: Section;
|
||||
creationDate: string;
|
||||
lastUser: string;
|
||||
lastDate?: string;
|
||||
|
||||
public constructor(init?: Partial<Device>) {
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,6 +11,8 @@ export class User {
|
||||
access_token?: string;
|
||||
exp?: number;
|
||||
ver: string;
|
||||
lastDevice: string;
|
||||
lastDate?: string;
|
||||
|
||||
public constructor(init?: Partial<User>) {
|
||||
Object.assign(this, init);
|
||||
|
||||
Reference in New Issue
Block a user