You've already forked openaccounting-web
forked from cybercinch/openaccounting-web
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
|
|
export class Invite {
|
||
|
|
id: string;
|
||
|
|
orgId: string;
|
||
|
|
inserted: Date;
|
||
|
|
updated: Date;
|
||
|
|
email: string;
|
||
|
|
accepted: boolean;
|
||
|
|
|
||
|
|
constructor(options: any = {}) {
|
||
|
|
this.id = options.id;
|
||
|
|
this.orgId = options.orgId;
|
||
|
|
this.inserted = options.inserted ? new Date(options.inserted) : null;
|
||
|
|
this.updated = options.updated ? new Date(options.updated) : null;
|
||
|
|
this.email = options.email;
|
||
|
|
this.accepted = options.accepted;
|
||
|
|
}
|
||
|
|
}
|