PromotionQueryDTO.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. 
  2. using dodohold.core;
  3. namespace molilian.core
  4. {
  5. [Table("tk_promotion_log")]
  6. public class PromotionQueryDTO
  7. {
  8. [Key]
  9. public long id { get; set; }
  10. public int accountId { get; set; } = 0;
  11. public string accountName { get; set; } = string.Empty;
  12. public string proxy_node { get; set; } = string.Empty;
  13. public string proxy_nodename { get; set; } = string.Empty;
  14. public string img { get; set; } = string.Empty;
  15. public string ip { get; set; } = string.Empty;
  16. public string oaid { get; set; } = string.Empty;
  17. public bool success { get; set; } = false;
  18. public string message { get; set; } = string.Empty;
  19. public string scene { get; set; } = string.Empty;
  20. public string reason { get; set; } = string.Empty;
  21. public string url { get; set; } = string.Empty;
  22. public string similarPromotion { get; set; } = string.Empty;
  23. public string promotionImg { get; set; } = string.Empty;
  24. public int elapsedTime { get; set; } = 0;
  25. public int elapsedTime2 { get; set; } = 0;
  26. public int elapsedTime3 { get; set; } = 0;
  27. public int elapsedTime4 { get; set; } = 0;
  28. public DateTime create_time { get; set; } = DateTime.Now;
  29. public string end_point { get; set; } = string.Empty;
  30. public List<PromotionQueryItemDTO> SimilarPromotion = [];
  31. public List<PromotionQueryItemDTO> PromotionImg = [];
  32. }
  33. public class PromotionQueryItemDTO
  34. {
  35. public string h5_url { get; set; } = string.Empty;
  36. public string deeplink_url { get; set; } = string.Empty;
  37. /// <summary>
  38. /// 店铺信息-卖家类型:1天猫,0淘宝,3淘特
  39. /// </summary>
  40. public string userType { get; set; } = string.Empty;
  41. public string shopTitle { get; set; } = string.Empty;
  42. public string itemId { get; set; } = string.Empty;
  43. public string itemName { get; set; } = string.Empty;
  44. public string pic { get; set; } = string.Empty;
  45. public string price { get; set; } = string.Empty;
  46. public string promotionPrice { get; set; } = string.Empty;
  47. public string couponAmount { get; set; } = string.Empty;
  48. public string couponEffectiveStartTime { get; set; } = string.Empty;
  49. public string couponEffectiveEndTime { get; set; } = string.Empty;
  50. public string sellCountStr { get; set; } = string.Empty;
  51. public string provcity { get; set; } = string.Empty;
  52. public string exposeTracks { get; set; } = string.Empty;
  53. public string clickTracks { get; set; } = string.Empty;
  54. }
  55. }