Guest User

Untitled

a guest
Oct 21st, 2019
79
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace Shop.Model
  2. {
  3. class Buyer
  4. {
  5. public string FirstName { get; set; }
  6. public string LastName { get; set; }
  7. public string PhoneNumber { get; set; }
  8. public bool BlackList { get; set; }
  9. }
  10. }
  11.  
  12. using System.Collections.Generic;
  13. using Shop.Model;
  14.  
  15. namespace Shop
  16. {
  17. class Shop
  18. {
  19. List<Buyer> Buyers = new List<Buyer>();
  20. List<CatalogItem> CatalogItems = new List<CatalogItem>();
  21. }
  22. }
  23.  
  24.  
  25.  
  26. namespace Shop.Model
  27. {
  28. class CatalogItem
  29. {
  30. public string Title { get; set; }
  31. public string Model { get; set; }
  32. public float Cost { get; set; }
  33. public int Count { get; set; }
  34. }
  35. }
RAW Paste Data