Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public class CustomerViewModel
  2. {
  3. // Various other properties removed for brevity
  4.  
  5. public int DiscountRate { get; set; };
  6.  
  7. public DateTime DiscountFromDate { get; set; }
  8.  
  9. public DateTime DiscountToDate { get; set; };
  10. }
  11.  
  12. public class Customer
  13. {
  14. // Other properties removed for brevity
  15. public IEnumerable<SettlementDiscount> SettlementDiscounts { get; set; }
  16. }
  17.  
  18. public class SettlementDiscount
  19. {
  20. public int CustomerId { get; set; }
  21.  
  22. public int DiscountRate { get; set; }
  23.  
  24. public DateTime FromDate { get; set; }
  25.  
  26. public DateTime ToDate { get; set; }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement