Created
April 16, 2018 10:20
-
-
Save bjoerntx/e048a49c9f023fd27a5a0540b00f332d 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
public class Report | |
{ | |
public string Name { get; set; } | |
public List<Sale> Sales { get; set; } = new List<Sale>(); | |
} | |
public class Sale | |
{ | |
public Customer Customer { get; set; } | |
public Product Product { get; set; } | |
} | |
public class Product | |
{ | |
public string Name { get; set; } | |
public decimal Price { get; set; } | |
} | |
public class Customer | |
{ | |
public string Name { get; set; } | |
public int Id { get; set; } | |
public string Street { get; set; } | |
public string City { get; set; } | |
public int Zip { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment