PromotionQueryDTO.cs 2.7 KB

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