MaintainerShowItem.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using FWindSoft.Data;
  7. namespace Com.FirmLib.UI.Maintainer
  8. {
  9. public class MaintainerShowItem : BasePropertyChanged
  10. {
  11. public string Id { get; set; }
  12. private string m_Name;
  13. /// <summary>
  14. /// 供应商名字
  15. /// </summary>
  16. public string Name
  17. {
  18. get { return this.m_Name; }
  19. set
  20. {
  21. this.m_Name = value;
  22. RaisePropertyChanged(() => this.Name);
  23. }
  24. }
  25. private string m_Url;
  26. /// <summary>
  27. /// 供应商网址
  28. /// </summary>
  29. public string Url
  30. {
  31. get { return this.m_Url; }
  32. set
  33. {
  34. this.m_Url = value;
  35. RaisePropertyChanged(() => this.Url);
  36. }
  37. }
  38. private List<string> m_BrandNames;
  39. /// <summary>
  40. /// 包含品牌名称
  41. /// </summary>
  42. public List<string> BrandNames
  43. {
  44. get { return this.m_BrandNames; }
  45. set
  46. {
  47. this.m_BrandNames = value;
  48. RaisePropertyChanged(() => this.BrandNames);
  49. }
  50. }
  51. private List<string> m_FamilyNames;
  52. /// <summary>
  53. /// 包含类型族名称
  54. /// </summary>
  55. public List<string> FamilyNames
  56. {
  57. get { return this.m_FamilyNames; }
  58. set
  59. {
  60. this.m_FamilyNames = value;
  61. RaisePropertyChanged(() => this.FamilyNames);
  62. }
  63. }
  64. private int m_RefProjectCount;
  65. /// <summary>
  66. /// 关联项目个数
  67. /// </summary>
  68. public int RefProjectCount
  69. {
  70. get { return this.m_RefProjectCount; }
  71. set
  72. {
  73. this.m_RefProjectCount = value;
  74. RaisePropertyChanged(() => this.RefProjectCount);
  75. }
  76. }
  77. }
  78. }