using System.Collections.Generic; namespace PoweredSoft.DynamicQuery.Test.Mock { public class Order { public long Id { get; set; } public long OrderNum { get; set; } public long Date { get; set; } public long CustomerId { get; set; } public virtual Customer Customer { get; set; } public ICollection OrderItems { get; set; } = new HashSet(); } public class Customer { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string AddressLine1 { get; set; } public string AddressLine2 { get; set; } public string City { get; set; } public string ProvinceOrState { get; set; } public string PostalCodeOrZip { get; set; } public ICollection Orders { get; set; } = new HashSet(); } public class Item { public long Id { get; set; } public string Name { get; set; } public decimal Price { get; set; } public virtual ICollection OrderItems { get; set; } = new HashSet(); } public class OrderItem { public long Id { get; set; } public long Quantity { get; set; } public decimal PriceAtTheTime { get; set; } public long ItemId { get; set; } public virtual Item Item { get; set; } public virtual Order Order { get; set; } } }