- Timestamp:
- 06/04/13 16:30:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Billing/Model/Model.cs
r9579 r9582 15 15 } 16 16 17 public class PaymentInformation { 18 public long PaymentInformationId { get; set; } 19 public string CardNumber { get; set; } 20 public PaymentMethod PaymentMethod { get; set; } 21 public string AdditionalInformation { get; set; } 22 } 23 17 24 public enum PaymentMethod { 18 25 Cheque, … … 21 28 PayPal, 22 29 Diners 30 } 31 32 public enum BillingType { 33 Pre, 34 Post 35 } 36 37 public enum BillingPeriod { 38 Weekly, 39 Monthly, 40 Yearly 23 41 } 24 42 … … 34 52 public long UserId { get; set; } 35 53 public string Name { get; set; } 54 public virtual IList<PaymentInformation> PaymentInformation { get; set; } 36 55 } 37 56 … … 47 66 public long OrderId { get; set; } 48 67 public long UserId { get; set; } 49 public stringBillingType { get; set; }68 public BillingType BillingType { get; set; } 50 69 public long OrderStateId { get; set; } 51 public stringBillingPeriod { get; set; }52 public DateTime ActiveSince { get; set; }53 public DateTime ActiveUntil { get; set; }70 public BillingPeriod BillingPeriod { get; set; } 71 public DateTime? ActiveSince { get; set; } 72 public DateTime? ActiveUntil { get; set; } 54 73 55 74
Note: See TracChangeset
for help on using the changeset viewer.