You've already forked openaccounting-web
mirror of
https://github.com/openaccounting/oa-web.git
synced 2025-12-09 00:51:01 +13:00
15 lines
385 B
TypeScript
15 lines
385 B
TypeScript
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;
|
|
}
|
|
} |