Files
openaccounting-web/src/app/shared/apikey.ts

15 lines
385 B
TypeScript
Raw Normal View History

2018-10-19 11:28:08 -04:00
export class ApiKey {
id: string;
inserted: Date;
updated: Date;
userId: string;
label: string;
constructor(options: any = {}) {
this.id = options.id;
this.inserted = options.inserted ? new Date(options.inserted) : null;
this.updated = options.updated ? new Date(options.updated) : null;
this.userId = options.userId;
this.label = options.label;
}
}