You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StoreInfoResponse.cs 1.9 KiB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Logic.RemoteModel
  6. {
  7. public class StoreInfoResponse
  8. {
  9. /// <summary>
  10. /// 档口
  11. /// </summary>
  12. [JsonProperty("gateList")]
  13. public List<StallModelResponse> Stalls { get; set; }
  14. /// <summary>
  15. /// 设备
  16. /// </summary>
  17. [JsonProperty("payCardList")]
  18. public List<DeviceModelResponse> Devices { get; set; }
  19. }
  20. public class StallModelResponse
  21. {
  22. public string Id { get; set; }
  23. /// <summary>
  24. /// 档口名称
  25. /// </summary>
  26. public string Name { get; set; }
  27. /// <summary>
  28. /// 归属门店
  29. /// </summary>
  30. public string StoreId { get; set; }
  31. /// <summary>
  32. /// 收费方式(1,固定金额2,自由设定)
  33. /// </summary>
  34. public int Mode { get; set; }
  35. /// <summary>
  36. /// 收款金额
  37. /// </summary>
  38. public decimal Price { get; set; }
  39. /// <summary>
  40. /// 广告
  41. /// </summary>
  42. public string Remaek { get; set; }
  43. /// <summary>
  44. ///状态0正常,1停用
  45. /// </summary>
  46. public int Status { get; set; }
  47. }
  48. public class DeviceModelResponse
  49. {
  50. public string Id { get; set; }
  51. /// <summary>
  52. /// 刷卡设备名称
  53. /// </summary>
  54. public string Name { get; set; }
  55. /// <summary>
  56. /// 档口id
  57. /// </summary>
  58. public string GateId { get; set; }
  59. /// <summary>
  60. /// 地址
  61. /// </summary>
  62. public string Address { get; set; }
  63. /// <summary>
  64. /// 刷卡间隔时间
  65. /// </summary>
  66. public int SleepTime { get; set; }
  67. /// <summary>
  68. /// 状态0正常,1停用
  69. /// </summary>
  70. public int Status { get; set; }
  71. }
  72. }