PromotionQueryDTO.cs 2.1 KB

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