Skip to content

Instantly share code, notes, and snippets.

@karthikeyanVK
Created February 14, 2020 07:57
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 karthikeyanVK/a256022b71406a3211f5de4428a1971a to your computer and use it in GitHub Desktop.
Save karthikeyanVK/a256022b71406a3211f5de4428a1971a to your computer and use it in GitHub Desktop.
using System;
using Newtonsoft.Json;
namespace PetShop.Model
{
public class Order
{
[JsonProperty(PropertyName = "id")]
public Guid OrderId { get; set; }
public Guid CustomerId { get; set; }
public Guid ProductId { get; set; }
public string ProductName { get; set; }
public int Quantity { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment