Model.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace test
  7. {
  8. partial class Books
  9. {
  10. public string authors;
  11. public string nameAuttor
  12. {
  13. get { return authors; }
  14. set { authors = value; }
  15. }
  16. public string genre;
  17. public string titleGenre
  18. {
  19. get { return genre; }
  20. set { genre = value; }
  21. }
  22. public dynamic countinstock;
  23. public dynamic Stock
  24. {
  25. get { return countinstock; }
  26. set { countinstock = value; }
  27. }
  28. public dynamic countinstore;
  29. public dynamic Store
  30. {
  31. get { return countinstore; }
  32. set { countinstore = value; }
  33. }
  34. private string myVar;
  35. public string des
  36. {
  37. get { return myVar; }
  38. set { myVar = value; }
  39. }
  40. public int CountInCart { get; set; } = 0;
  41. public decimal { get; set; } = 0;
  42. }
  43. }