TkDataDTO.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. using dodohold.core;
  2. namespace molilian.core
  3. {
  4. public enum TkSubCodeEnum
  5. {
  6. /// <summary>
  7. /// 初筛1
  8. /// </summary>
  9. Prelim1 = 101,
  10. /// <summary>
  11. /// 初筛2
  12. /// </summary>
  13. Prelim2 = 102,
  14. /// <summary>
  15. /// 流量控制
  16. /// </summary>
  17. TrafficCtrl = 103,
  18. /// <summary>
  19. /// 非标链接
  20. /// </summary>
  21. NonStdLink = 104,
  22. /// <summary>
  23. /// 其他推广
  24. /// </summary>
  25. OtherPromo = 105,
  26. /// <summary>
  27. /// 链接不可转
  28. /// </summary>
  29. NoConvert = 106,
  30. /// <summary>
  31. /// 网络错误
  32. /// </summary>
  33. NetError = 107,
  34. /// <summary>
  35. /// 转链成功
  36. /// </summary>
  37. Success = 108,
  38. /// <summary>
  39. /// 其他
  40. /// </summary>
  41. Other = 109,
  42. /// <summary>
  43. /// 厂商放弃
  44. /// </summary>
  45. PartnersDrop = 110,
  46. /// <summary>
  47. /// 初筛1.5
  48. /// </summary>
  49. Prelim1_5 = 110,
  50. Captcha = 111,
  51. /// <summary>
  52. /// 初筛3
  53. /// </summary>
  54. Prelim3 = 112,
  55. }
  56. public class TkDataDTO
  57. {
  58. [Key]
  59. public long id { get; set; }
  60. public TkChannelEnum channel { get; set; }
  61. public LinkTypeEnum link_type { get; set; }
  62. public ChannelTypeEnum channel_type { get; set; } = ChannelTypeEnum.none;
  63. public int accountId { get; set; } = 0;
  64. public string accountName { get; set; } = string.Empty;
  65. public bool success { get; set; } = true;
  66. public bool commercial { get; set; } = false;
  67. public string message { get; set; } = string.Empty;
  68. public string reason { get; set; } = string.Empty;
  69. public string content { get; set; } = string.Empty;
  70. public string rawContent { get; set; } = string.Empty;
  71. public string rawContent2 { get; set; } = string.Empty;
  72. public string shortLinkurl { get; set; } = string.Empty;
  73. public string deeplink_url { get; set; } = string.Empty;
  74. public int elapsedTime { get; set; } = 0;
  75. public int elapsedTime2 { get; set; } = 0;
  76. public int elapsedTime3 { get; set; } = 0;
  77. public string ip { get; set; } = string.Empty;
  78. public string oaid { get; set; } = string.Empty;
  79. public string taoToken { get; set; } = string.Empty;
  80. public string num_iid { get; set; } = string.Empty;
  81. public string itemId { get; set; } = string.Empty;
  82. public string itemName { get; set; } = string.Empty;
  83. public decimal couponAmount { get; set; } = 0;
  84. public decimal promotionPrice { get; set; } = 0;
  85. public string pic { get; set; } = string.Empty;
  86. public string sellerNickName { get; set; } = string.Empty;
  87. public string shopTitle { get; set; } = string.Empty;
  88. public string qrCodeUrl { get; set; } = string.Empty;
  89. public DateTime create_time { get; set; } = DateTime.Now;
  90. [IgnoreInsert, IgnoreUpdate]
  91. public string couponEffectiveStartTime { get; set; } = string.Empty;
  92. [IgnoreInsert, IgnoreUpdate]
  93. public string couponEffectiveEndTime { get; set; } = string.Empty;
  94. public string end_point { get; set; } = string.Empty;
  95. public TkSubCodeEnum subCode { get; set; } = TkSubCodeEnum.Other;
  96. }
  97. }