Created
February 14, 2020 07:57
-
-
Save karthikeyanVK/a256022b71406a3211f5de4428a1971a to your computer and use it in GitHub Desktop.
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
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