ZXViewModel.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace KJH55128_Rec.ViewModels
  6. {
  7. public class ZXViewModel
  8. {
  9. public int Id { get; set; }
  10. public string Name { get; set; }
  11. public int Cid { get; set; }
  12. public int Tid { get; set; }
  13. public int Status { get; set; }
  14. public int OrderBy { get; set; }
  15. public string Url { get; set; }
  16. public int type { get; set; }
  17. public string hTitle { get; set; }
  18. public string hKeywords { get; set; }
  19. public string hDescription { get; set; }
  20. public int TemplateId { get; set; }
  21. }
  22. public class IndexToolModel {
  23. string name;
  24. string code;
  25. List<ZXViewModel> toosl;
  26. public string Name
  27. {
  28. get
  29. {
  30. return name;
  31. }
  32. set
  33. {
  34. name = value;
  35. }
  36. }
  37. public string Code
  38. {
  39. get
  40. {
  41. return code;
  42. }
  43. set
  44. {
  45. code = value;
  46. }
  47. }
  48. public List<ZXViewModel> Toosl
  49. {
  50. get
  51. {
  52. return toosl;
  53. }
  54. set
  55. {
  56. toosl = value;
  57. }
  58. }
  59. public IndexToolModel(string name, string code, List<ZXViewModel> list)
  60. {
  61. this.Name = name;
  62. this.Code = code;
  63. this.Toosl = list;
  64. }
  65. }
  66. }