Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created October 7, 2018 17:54
Show Gist options
  • Save icebeam7/18ecf35855d4b3db5bb27fe5c2f7a2b5 to your computer and use it in GitHub Desktop.
Save icebeam7/18ecf35855d4b3db5bb27fe5c2f7a2b5 to your computer and use it in GitHub Desktop.
StoreWebApi: OrderDetailDTO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StoreWebApi.DTOs
{
public class OrderDetailDTO
{
public int CustomerOrderId { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
public decimal Amount { get; set; }
public CustomerOrderDTO CustomerOrder { get; set; }
public ProductDTO Product { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment