TispSpotViewModel.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ropin.Inspection.Model.ViewModel
  7. {
  8. public class TispSpotViewModel : BaseViewModel
  9. {
  10. private string number;
  11. private string name;
  12. private string numberName;
  13. public TispSpotViewModel()
  14. {
  15. }
  16. public string NumberName
  17. {
  18. get { return this.number + " " + this.name; }
  19. set { this.numberName = this.number + " " + this.name; }
  20. }
  21. public Guid C_Code { get; set; }
  22. public string C_Number
  23. {
  24. get =>this.number;
  25. set { this.number = value; }
  26. }
  27. public string C_Name
  28. {
  29. get => this.name;
  30. set { this.name = value; }
  31. }
  32. public string C_Position { get; set; }
  33. /// <summary>
  34. /// 二维码编号
  35. /// </summary>
  36. public string C_QRCode { get; set; }
  37. public string C_GPS { get; set; }
  38. public string C_Remark { get; set; }
  39. /// <summary>
  40. /// GPS误差范围
  41. /// </summary>
  42. public int I_Offset { get; set; }
  43. public string C_ImageUrl { get; set; }
  44. public IEnumerable<TispContentViewModel> ContentList { get;set;}
  45. public IEnumerable<TmtnDevOpsContentViewModel> DevOpsContentList { get; set; }
  46. public Guid C_CreateBy { get; set; }
  47. public DateTime D_CreateOn { get; set; }
  48. public Guid C_LastUpdatedBy { get; set; }
  49. public DateTime D_LastUpdatedOn { get; set; }
  50. //public char C_Status { get; set; } = '1';
  51. public string C_StoreCode { get; set; }
  52. public string C_AreaCode { get; set; }
  53. public decimal? F_Map_X { get; set; }
  54. public decimal? F_Map_Y { get; set; }
  55. public string C_Status { get; set; }
  56. public IEnumerable<TprdProductViewModel> ProductList { get; set; }
  57. }
  58. public class TispSpotDevStoreViewModel
  59. {
  60. private string number;
  61. private string name;
  62. private string numberName;
  63. public TispSpotDevStoreViewModel()
  64. {
  65. }
  66. public string NumberName
  67. {
  68. get { return this.number + " " + this.name; }
  69. set { this.numberName = this.number + " " + this.name; }
  70. }
  71. public Guid C_Code { get; set; }
  72. public string C_Number
  73. {
  74. get => this.number;
  75. set { this.number = value; }
  76. }
  77. public string C_Name
  78. {
  79. get => this.name;
  80. set { this.name = value; }
  81. }
  82. public string C_Position { get; set; }
  83. /// <summary>
  84. /// 二维码编号
  85. /// </summary>
  86. public string C_QRCode { get; set; }
  87. public string C_GPS { get; set; }
  88. public string C_Remark { get; set; }
  89. /// <summary>
  90. /// GPS误差范围
  91. /// </summary>
  92. public int I_Offset { get; set; }
  93. public string C_ImageUrl { get; set; }
  94. public Guid C_CreateBy { get; set; }
  95. public DateTime D_CreateOn { get; set; }
  96. public Guid C_LastUpdatedBy { get; set; }
  97. public DateTime D_LastUpdatedOn { get; set; }
  98. //public char C_Status { get; set; } = '1';
  99. public string C_StoreCode { get; set; }
  100. public string C_AreaCode { get; set; }
  101. public decimal? F_Map_X { get; set; }
  102. public decimal? F_Map_Y { get; set; }
  103. public string C_Status { get; set; }
  104. public string C_DevStoreCode { get; set; }
  105. public string C_DevStoreName { get; set; }
  106. public string C_DevNumberCode { get; set; }
  107. }
  108. }