Skip to content

Instantly share code, notes, and snippets.

@yodeah
Last active March 28, 2018 14:06
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 yodeah/9fc2f8cee4c7e31d56939608e84876fa to your computer and use it in GitHub Desktop.
Save yodeah/9fc2f8cee4c7e31d56939608e84876fa to your computer and use it in GitHub Desktop.
restaurant creation JSON:
{
"firstName":"string",
"lastName":"string",
"email":"string",
"restaurantName":"string",
"city":"string",
"address":"string",
"postalCode":"number",
"cuisine":"string",
"phoneNumber":"string",
"password":"string"
}
user reg:
export class SimpleUserCreationRequest{
public firstName:string;
public lastName:string;
public email:string;
public postalCode:string;
public password:string;
public acceptNewsletter:boolean;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment