Created
October 9, 2016 04:03
-
-
Save sirgalleto/e4c2e4e7cb6b61a096c251e6a875815a to your computer and use it in GitHub Desktop.
Model example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* tslint:disable */ | |
export interface EmailInterface { | |
to: string; | |
from: string; | |
subject: string; | |
text?: string; | |
html?: string; | |
id?: number; | |
} | |
export class Email implements EmailInterface { | |
to: string; | |
from: string; | |
subject: string; | |
text: string; | |
html: string; | |
id: number; | |
constructor(instance?: Email) { | |
Object.assign(this, instance); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment