Model.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace WpfApp1
  7. {
  8. partial class Books
  9. {
  10. private dynamic countStock;
  11. public dynamic Stock
  12. {
  13. get { return countStock; }
  14. set { countStock = value; }
  15. }
  16. private dynamic countStore;
  17. public dynamic Store
  18. {
  19. get { return countStore; }
  20. set { countStore = value; }
  21. }
  22. private string author;
  23. public string nameAuthor
  24. {
  25. get { return author; }
  26. set { author = value; }
  27. }
  28. private string genre;
  29. public string tittleGenre
  30. {
  31. get { return genre; }
  32. set { genre = value; }
  33. }
  34. private string myVar;
  35. public string allDescription
  36. {
  37. get { return myVar; }
  38. set { myVar = value; }
  39. }
  40. public int CountInBasket { get; set; } = 0;
  41. public string Visible { get; set; }
  42. public string Visible2 { get; set; }
  43. public decimal TotalPriseOrder { get; set; } = 0;
  44. public decimal TotalPriseOrderWithSale { get; set; } = 0;
  45. public string newDecoration { get; set; } = "None";
  46. }
  47. }