You've already forked openaccounting-web
mirror of
https://github.com/openaccounting/oa-web.git
synced 2025-12-09 09:01:24 +13:00
initial commit
This commit is contained in:
15
src/app/shared/apikey.ts
Normal file
15
src/app/shared/apikey.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user