UnionCouponDTO.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. 
  2. using dodohold.core;
  3. namespace molilian.core
  4. {
  5. [Table("tk_coupon_logs")]
  6. public class UnionCouponDTO : BaseUnionCouponDTO;
  7. [Table("tk_coupon_logs_test")]
  8. public class TestUnionCouponDTO : BaseUnionCouponDTO;
  9. [Table("tk_coupon_logs_success")]
  10. public class SuccessUnionCouponDTO : BaseUnionCouponDTO;
  11. public class BaseUnionCouponDTO
  12. {
  13. [Key]
  14. public long id { get; set; }
  15. public TkChannelEnum channel { get; set; }
  16. public int accountId { get; set; } = 0;
  17. public string accountName { get; set; } = string.Empty;
  18. public string proxy_node { get; set; } = string.Empty;
  19. public string rawContent { get; set; } = string.Empty;
  20. public string rawContent2 { get; set; } = string.Empty;
  21. public string content { get; set; } = string.Empty;
  22. public bool success { get; set; } = false;
  23. public string reason { get; set; } = string.Empty;
  24. public string message { get; set; } = string.Empty;
  25. public string deeplink_url { get; set; } = string.Empty;
  26. public int elapsedTime { get; set; } = 0;
  27. public string ip { get; set; } = string.Empty;
  28. public string oaid { get; set; } = string.Empty;
  29. public decimal couponAmount { get; set; } = 0.00M;
  30. public string itemId { get; set; } = string.Empty;
  31. public string pic { get; set; } = string.Empty;
  32. public DateTime create_time { get; set; } = DateTime.Now;
  33. public string couponEffectiveStartTime { get; set; } = string.Empty;
  34. public string couponEffectiveEndTime { get; set; } = string.Empty;
  35. public string end_point { get; set; } = string.Empty;
  36. }
  37. }