PromotionQueryDTO.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 img { get; set; } = string.Empty;
  14. public string ip { get; set; } = string.Empty;
  15. public string oaid { get; set; } = string.Empty;
  16. public bool success { get; set; } = false;
  17. public string message { get; set; } = string.Empty;
  18. public string scene { get; set; } = string.Empty;
  19. public string reason { get; set; } = string.Empty;
  20. public string url { get; set; } = string.Empty;
  21. public string similarPromotion { get; set; } = string.Empty;
  22. public string promotionImg { get; set; } = string.Empty;
  23. public int elapsedTime { get; set; } = 0;
  24. public int elapsedTime2 { get; set; } = 0;
  25. public int elapsedTime3 { get; set; } = 0;
  26. public int elapsedTime4 { get; set; } = 0;
  27. public DateTime create_time { get; set; } = DateTime.Now;
  28. public string end_point { get; set; } = string.Empty;
  29. public List<PromotionQueryItemDTO> SimilarPromotion = [];
  30. public List<PromotionQueryItemDTO> PromotionImg = [];
  31. }
  32. public class PromotionQueryItemDTO
  33. {
  34. public string h5_url { get; set; } = string.Empty;
  35. public string deeplink_url { get; set; } = string.Empty;
  36. /// <summary>
  37. /// 店铺信息-卖家类型:1天猫,0淘宝,3淘特
  38. /// </summary>
  39. public string userType { get; set; } = string.Empty;
  40. public string shopTitle { get; set; } = string.Empty;
  41. public string itemId { get; set; } = string.Empty;
  42. public string itemName { get; set; } = string.Empty;
  43. public string pic { get; set; } = string.Empty;
  44. public string price { get; set; } = string.Empty;
  45. public string promotionPrice { get; set; } = string.Empty;
  46. public string couponAmount { get; set; } = string.Empty;
  47. public string couponEffectiveStartTime { get; set; } = string.Empty;
  48. public string couponEffectiveEndTime { get; set; } = string.Empty;
  49. public string sellCountStr { get; set; } = string.Empty;
  50. public string provcity { get; set; } = string.Empty;
  51. }
  52. }