Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created October 7, 2018 17:54
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 icebeam7/0d658c06622021466d958cc781363fff to your computer and use it in GitHub Desktop.
Save icebeam7/0d658c06622021466d958cc781363fff to your computer and use it in GitHub Desktop.
StoreWebApi: CustomerOrderDTO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StoreWebApi.DTOs
{
public class CustomerOrderDTO
{
public int Id { get; set; }
public int CustomerId { get; set; }
public DateTime Date { get; set; }
public int OrderStatusId { get; set; }
public decimal Amount { get; set; }
public CustomerDTO Customer { get; set; }
public OrderStatusDTO OrderStatus { get; set; }
public List<OrderDetailDTO> OrderDetail { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment