Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created January 6, 2018 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uno-de-piera/dceb8498af514bbf39bc054e7119e333 to your computer and use it in GitHub Desktop.
Save uno-de-piera/dceb8498af514bbf39bc054e7119e333 to your computer and use it in GitHub Desktop.
enum Genders {
male = "male",
female = "female"
}
export class User {
id: string | number;
index: number;
guid: string;
isActive: boolean = false;
picture: string;
age: number;
name: string;
gender: Genders;
company: string;
email: string;
phone: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment