- Timestamp:
- 06/04/13 16:30:39 (11 years ago)
- Location:
- branches/OaaS/HeuristicLab.Services.Optimization.Web/Models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Models/OrderAdminModel.cs
r9556 r9582 9 9 public class OrderAdminModel { 10 10 public long OrderId { get; set; } 11 public IList<Order> Orders { get; set; } 11 public IList<Order> CreatedOrders { get; set; } 12 public IList<Order> ActiveOrders { get; set; } 13 public IList<Order> SuspendedOrders { get; set; } 12 14 } 13 15 } -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Models/OrderModel.cs
r9556 r9582 8 8 9 9 public class OrderModel { 10 public string BillingType { get; set; } 11 public string BillingPeriod { get; set; } 12 public DateTime ActiveSince { get; set; } 13 public DateTime ActiveUntil { get; set; } 10 public BillingType BillingType { get; set; } 11 public BillingPeriod BillingPeriod { get; set; } 12 public DateTime? ActiveSince { get; set; } 13 public DateTime? ActiveUntil { get; set; } 14 public User User { get; set; } 14 15 // product id to quantity mapping 15 16 public IDictionary<long, int> ProductQuantities { get; set; } 16 17 public IDictionary<long, Product> Products { get; set; } 18 public long PaymentInformationId { get; set; } 17 19 18 20 public double TotalSum() { … … 35 37 } 36 38 39 public class PaymentModel { 40 public PaymentMethod Method { get; set; } 41 public string CardNumber { get; set; } 42 public string AdditionalInformation { get; set; } 43 } 44 37 45 public class ProductsModel { 38 46 public IList<Product> Products { get; set; } … … 40 48 public long ProductId { get; set; } 41 49 } 50 51 public class OverviewModel { 52 public IList<Order> Orders { get; set; } 53 } 42 54 }
Note: See TracChangeset
for help on using the changeset viewer.