RefundModel.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. using JiaZhiQuan.Common.Response;
  2. using Newtonsoft.Json;
  3. using NPOI.SS.Util;
  4. using System;
  5. using System.Collections.Generic;
  6. namespace JiaZhiQuan.Common.Models.MallGoodsModel {
  7. public class RefundModel {
  8. //退单计时器05-单位是小时
  9. public const int REFUND_TIMER05 = 24;
  10. //退单计时器06-单位是小时
  11. public const int REFUND_TIMER06 = 24 * 3;
  12. //退单计时器07-单位是小时
  13. public const int REFUND_TIMER07 = 24 * 2;
  14. //退单计时器08-单位是小时
  15. public const int REFUND_TIMER08 = 24 * 2;
  16. public const int REFUND_TIMER09 = 24 * 3;
  17. public const int REFUND_TIMER10 = 24 * 2;
  18. public const int REFUND_TIMER11 = 24 * 2;
  19. public const int REFUND_TIMER12 = 24 * 3;
  20. public const int REFUND_TIMER13 = 24 * 7;
  21. public const int REFUND_TIMER14 = 24 * 10;
  22. public const int REFUND_TIMER15 = 24 * 3;
  23. public const int REFUND_TIMER16 = 24 * 2;
  24. public enum BillType {
  25. 支付流水 = 1,
  26. 分账流水 = 2,
  27. 退单流水 = 3
  28. }
  29. public enum RefundType {
  30. 待发仅退款 = 1,
  31. 待收仅退款 = 2,
  32. 退款退货 = 3
  33. }
  34. public enum RefundState {
  35. 已关闭 = -1,
  36. 待卖家处理 = 1,
  37. 退单维权举证 = 21,
  38. 货损维权举证 = 42,
  39. 退单成功 = 5
  40. }
  41. public enum UserType {
  42. 系统 = 0,
  43. 买家 = 1,
  44. 卖家 = 2
  45. }
  46. public enum DealType {
  47. 买家申请退单 = 1,
  48. 买家撤销退单 = 2,
  49. 买家发起维权 = 3,
  50. 买家退单维权补充证据 = 4,
  51. 买家寄出退货 = 5,
  52. 买家同意货损 = 6,
  53. 买家拒绝货损 = 7,
  54. 买家货损维权补充证据 = 8,
  55. 买家超时未申请维权= 9,
  56. 买家超时未寄出退货=10,
  57. 买家超时未处理货损=11,
  58. 买家退款失败=12,
  59. 买家退款成功=13,
  60. 买家提醒卖家收货=14,
  61. 卖家同意退单 = 21,
  62. 卖家拒绝退单 = 22,
  63. 卖家退单维权补充证据 = 23,
  64. 卖家申请货损 = 24,
  65. 卖家货损维权补充证据 = 25,
  66. 卖家确认收货 = 26,
  67. 卖家撤销货损 = 27,
  68. 卖家延长收货 = 28,
  69. 卖家发起货损维权 = 29,
  70. 卖家超时未处理=30,
  71. 卖家发送退货地址=31,
  72. 卖家超时未发送退货地址=32,
  73. 卖家超时未确认收货=33,
  74. 卖家超时未申请维权=34,
  75. 退单维权买家胜 = 41,
  76. 退单维权卖家胜 = 42,
  77. 货损维权买家胜 = 43,
  78. 货损维权卖家胜 = 44
  79. }
  80. public class AfterSale {
  81. [JsonConverter(typeof(NumberConverter), NumberConverterShip.Int64)]
  82. public long afterSaleId { get; set; }
  83. [JsonConverter(typeof(NumberConverter), NumberConverterShip.Int64)]
  84. public long orderId { get; set; }
  85. [JsonConverter(typeof(NumberConverter), NumberConverterShip.Int64)]
  86. public long orderDetailId { get; set; }
  87. [JsonConverter(typeof(NumberConverter), NumberConverterShip.Int64)]
  88. public long userId { get; set; }
  89. [JsonConverter(typeof(NumberConverter), NumberConverterShip.Int64)]
  90. public long sellerId { get; set; }
  91. public int type { get; set; }
  92. public int judgeState { get; set; }
  93. public int refundAmount { get; set; }
  94. public int refundPoints { get; set; }
  95. public int refundOrderAmount { get; set; }
  96. public int? lossApplyAmount { get; set; }
  97. public int lossAmount { get; set; }
  98. public int state { get; set; }
  99. public DateTime receiveExpireAt { get; set; }
  100. //货损平台处理时间
  101. public DateTime lossProtectDealAt { get; set; }
  102. public int SellerDelayCnt { get; set; }
  103. public int lossCount { get; set; }
  104. public string consigneePhone { get; set; }
  105. public string eventDesc { get; set; }
  106. }
  107. public class EventInfo {
  108. public int afterSaleEventId;
  109. public string eventDesc;
  110. public DateTime createAt;
  111. public RefundResources resources;
  112. }
  113. public class RefundResources {
  114. public string reason;
  115. public List<Extra> extra;
  116. }
  117. public class Extra {
  118. // 1文本,2图片,3,视频
  119. public int type;
  120. public string content;
  121. }
  122. public class ImInfo {
  123. public string msg;
  124. public long afterSaleId;
  125. public long senderId;
  126. public long acceptId;
  127. }
  128. public class InsertResult {
  129. public int count;
  130. public long insertId;
  131. }
  132. }
  133. }