Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created July 15, 2016 09:59
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 bjoerntx/be0c4bc97b57b228cfe7aae7b76fb5b6 to your computer and use it in GitHub Desktop.
Save bjoerntx/be0c4bc97b57b228cfe7aae7b76fb5b6 to your computer and use it in GitHub Desktop.
public class Invoice
{
public string InvoiceNumber { get; set; }
public Customer Customer { get; set; }
public List<Product> Items { get; set; }
}
public class Customer
{
public string Name { get; set; }
public string Street { get; set; }
public int Zip { get; set; }
public string City { get; set; }
}
public class Product
{
public string Name { get; set; }
public string Description { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment