JdOrderDetailsDTO.cs 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using dodohold.core;
  2. using System.Runtime.CompilerServices;
  3. using System.Text.Json.Serialization;
  4. namespace molilian.core
  5. {
  6. [Table("jd_order_details")]
  7. public class JdOrderDetailsDTO
  8. {
  9. [Key]
  10. public int id { get; set; }
  11. public int accountId { get; set; }
  12. public string accountName { get; set; }
  13. public decimal actualCommission { get; set; } = 0;
  14. public decimal actualCosPrice { get; set; } = 0;
  15. public decimal actualFee { get; set; } = 0;
  16. public long adId { get; set; } = 0;
  17. public string adName { get; set; } = string.Empty;
  18. public string balanceExt { get; set; } = string.Empty;
  19. public long channelId { get; set; } = 0;
  20. public decimal commissionRate { get; set; } = 0;
  21. public long cpActId { get; set; } = 0;
  22. public string cpActName { get; set; } = string.Empty;
  23. public decimal estimateCommission { get; set; } = 0;
  24. public decimal estimateCosPrice { get; set; } = 0;
  25. public decimal estimateFee { get; set; } = 0;
  26. public string exchangeRateAndUnit { get; set; } = string.Empty;
  27. public decimal finalRate { get; set; } = 0;
  28. [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))]
  29. public DateTime finishTime { get; set; } = DateTime.MinValue;
  30. public string jingfenValidCodeMsg { get; set; } = string.Empty;
  31. public long orderId { get; set; } = 0;
  32. public int orderStatus { get; set; } = 0;
  33. [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))]
  34. public DateTime orderTime { get; set; } = DateTime.MinValue;
  35. public long parentId { get; set; } = 0;
  36. public int payMonth { get; set; } = 0;
  37. public decimal payPrice { get; set; } = 0;
  38. public string pid { get; set; } = string.Empty;
  39. public int plus { get; set; } = 0;
  40. public decimal price { get; set; } = 0;
  41. public decimal proPriceAmount { get; set; }
  42. public string rateMsg { get; set; } = string.Empty;
  43. public int sellingFlag { get; set; } = 0;
  44. public long siteId { get; set; } = 0;
  45. public int skuFrozenNum { get; set; } = 0;
  46. public long skuId { get; set; } = 0;
  47. public string skuImgUrl { get; set; } = string.Empty;
  48. public string skuName { get; set; } = string.Empty;
  49. public int skuNum { get; set; } = 0;
  50. public int skuReturnNum { get; set; } = 0;
  51. public string skuShopName { get; set; } = string.Empty;
  52. public long spId { get; set; } = 0;
  53. public string spName { get; set; } = string.Empty;
  54. public int traceType { get; set; } = 0;
  55. public long unionId { get; set; } = 0;
  56. public int unionRole { get; set; } = 0;
  57. public string unionTag { get; set; } = string.Empty;
  58. public string validCodeMsg { get; set; } = string.Empty;
  59. public decimal SettleAmount { get; set; } = 0;
  60. public DateTime settle_time { get; set; } = DateTime.MinValue;
  61. [IgnoreUpdate]
  62. public DateTime create_time { get; set; } = DateTime.Now;
  63. public DateTime last_time { get; set; } = DateTime.Now;
  64. }
  65. }