PromotionQueryDTO.cs 2.3 KB

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