Browse Source

助利宝分润给java推送数据

lcl 3 months ago
parent
commit
2b958de671
86 changed files with 8678 additions and 0 deletions
  1. 19 0
      KxsUserModels/KxsBankChangeLog.cs
  2. 14 0
      KxsUserModels/KxsBase.cs
  3. 19 0
      KxsUserModels/KxsCashResult.cs
  4. 17 0
      KxsUserModels/KxsChangeType.cs
  5. 18 0
      KxsUserModels/KxsChangeTypeKind.cs
  6. 29 0
      KxsUserModels/KxsGdOpenInfo.cs
  7. 24 0
      KxsUserModels/KxsLeader.cs
  8. 27 0
      KxsUserModels/KxsLeaderAccountLog.cs
  9. 29 0
      KxsUserModels/KxsLeaderAmountLog.cs
  10. 18 0
      KxsUserModels/KxsLeaderByOrder.cs
  11. 18 0
      KxsUserModels/KxsLeaderByOrderInfo.cs
  12. 18 0
      KxsUserModels/KxsLeaderLimitLog.cs
  13. 20 0
      KxsUserModels/KxsLevelConfig.cs
  14. 21 0
      KxsUserModels/KxsPartner.cs
  15. 29 0
      KxsUserModels/KxsPartnerAmountLog.cs
  16. 22 0
      KxsUserModels/KxsProfitBase.cs
  17. 22 0
      KxsUserModels/KxsProfitConfig.cs
  18. 26 0
      KxsUserModels/KxsProfitInit.cs
  19. 26 0
      KxsUserModels/KxsProfitInit2024.cs
  20. 26 0
      KxsUserModels/KxsProfitInitBefore.cs
  21. 26 0
      KxsUserModels/KxsProfitInitBefore2024.cs
  22. 21 0
      KxsUserModels/KxsShdScore.cs
  23. 20 0
      KxsUserModels/KxsShdTradeAmt.cs
  24. 18 0
      KxsUserModels/KxsTotalDebt.cs
  25. 22 0
      KxsUserModels/KxsTotalDebtLog.cs
  26. 20 0
      KxsUserModels/KxsTradeLevelLog.cs
  27. 37 0
      KxsUserModels/KxsUser.cs
  28. 22 0
      KxsUserModels/KxsUserAddress.cs
  29. 22 0
      KxsUserModels/KxsUserAdvance.cs
  30. 27 0
      KxsUserModels/KxsUserAmount.cs
  31. 25 0
      KxsUserModels/KxsUserAmountLog.cs
  32. 25 0
      KxsUserModels/KxsUserAmountLog202203.cs
  33. 25 0
      KxsUserModels/KxsUserAmountLog202204.cs
  34. 25 0
      KxsUserModels/KxsUserAmountLog202205.cs
  35. 25 0
      KxsUserModels/KxsUserAmountLog202206.cs
  36. 25 0
      KxsUserModels/KxsUserAmountLog202207.cs
  37. 25 0
      KxsUserModels/KxsUserAmountLog202208.cs
  38. 25 0
      KxsUserModels/KxsUserAmountLog202209.cs
  39. 25 0
      KxsUserModels/KxsUserAmountLog202210.cs
  40. 25 0
      KxsUserModels/KxsUserAmountLog202211.cs
  41. 25 0
      KxsUserModels/KxsUserAmountLog202212.cs
  42. 25 0
      KxsUserModels/KxsUserAmountLog202301.cs
  43. 25 0
      KxsUserModels/KxsUserAmountLog202302.cs
  44. 25 0
      KxsUserModels/KxsUserAmountLog202303.cs
  45. 25 0
      KxsUserModels/KxsUserAmountLog202304.cs
  46. 25 0
      KxsUserModels/KxsUserAmountLog202305.cs
  47. 25 0
      KxsUserModels/KxsUserAmountLog202306.cs
  48. 25 0
      KxsUserModels/KxsUserAmountLog202307.cs
  49. 25 0
      KxsUserModels/KxsUserAmountLog202308.cs
  50. 25 0
      KxsUserModels/KxsUserAmountLog202309.cs
  51. 25 0
      KxsUserModels/KxsUserAmountLog202310.cs
  52. 25 0
      KxsUserModels/KxsUserAmountLog202311.cs
  53. 25 0
      KxsUserModels/KxsUserAmountLog202312.cs
  54. 25 0
      KxsUserModels/KxsUserAmountLog202401.cs
  55. 25 0
      KxsUserModels/KxsUserAmountLog202402.cs
  56. 25 0
      KxsUserModels/KxsUserAmountLog202403.cs
  57. 25 0
      KxsUserModels/KxsUserAmountLog202404.cs
  58. 25 0
      KxsUserModels/KxsUserAmountLog202405.cs
  59. 25 0
      KxsUserModels/KxsUserAmountLog202406.cs
  60. 25 0
      KxsUserModels/KxsUserAmountLog202407.cs
  61. 25 0
      KxsUserModels/KxsUserAmountLog202408.cs
  62. 25 0
      KxsUserModels/KxsUserAmountLog202409.cs
  63. 25 0
      KxsUserModels/KxsUserAmountLog202410.cs
  64. 25 0
      KxsUserModels/KxsUserAmountLog202411.cs
  65. 25 0
      KxsUserModels/KxsUserAmountLog202412.cs
  66. 24 0
      KxsUserModels/KxsUserAward.cs
  67. 21 0
      KxsUserModels/KxsUserBank.cs
  68. 23 0
      KxsUserModels/KxsUserByStage.cs
  69. 21 0
      KxsUserModels/KxsUserByStageLog.cs
  70. 19 0
      KxsUserModels/KxsUserEquity.cs
  71. 21 0
      KxsUserModels/KxsUserLevelLog.cs
  72. 19 0
      KxsUserModels/KxsUserPresetBefore.cs
  73. 19 0
      KxsUserModels/KxsUserPresetLog.cs
  74. 23 0
      KxsUserModels/KxsUserProfit.cs
  75. 21 0
      KxsUserModels/KxsUserProfitLkb.cs
  76. 21 0
      KxsUserModels/KxsUserProfitZlb.cs
  77. 19 0
      KxsUserModels/KxsUserReReal.cs
  78. 20 0
      KxsUserModels/KxsUserReal.cs
  79. 18 0
      KxsUserModels/KxsUserRealLevel.cs
  80. 29 0
      KxsUserModels/KxsUserWithdrawal.cs
  81. 22 0
      KxsUserModels/KxsUserYuepay.cs
  82. 16 0
      KxsUserModels/KxsWithdrawalConfig.cs
  83. 16 0
      KxsUserModels/UndoLog.cs
  84. 6723 0
      KxsUserModels/WebCMSEntities.cs
  85. 30 0
      Util/HaoDa/ProfitBeforeHelper.cs
  86. 1 0
      appsettings.Development.json

+ 19 - 0
KxsUserModels/KxsBankChangeLog.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsBankChangeLog
+    {
+        public int Id { get; set; }
+        public string AfterBankName { get; set; }
+        public string BeforeBankName { get; set; }
+        public string AfterCardNo { get; set; }
+        public string BeforeCardNo { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 14 - 0
KxsUserModels/KxsBase.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsBase
+    {
+        public int Id { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 19 - 0
KxsUserModels/KxsCashResult.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsCashResult
+    {
+        public int Id { get; set; }
+        public string IfCode { get; set; }
+        public string Result { get; set; }
+        public int UserId { get; set; }
+        public string UpdateBy { get; set; }
+        public string CreateBy { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 17 - 0
KxsUserModels/KxsChangeType.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsChangeType
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public string Kind { get; set; }
+        public string Name { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsChangeTypeKind.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsChangeTypeKind
+    {
+        public int Id { get; set; }
+        public string Kind { get; set; }
+        public int Sort { get; set; }
+        public string Name { get; set; }
+        public int ChangeTypeId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 29 - 0
KxsUserModels/KxsGdOpenInfo.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsGdOpenInfo
+    {
+        public int Id { get; set; }
+        public string JobId { get; set; }
+        public string JobStatus { get; set; }
+        public string OprName { get; set; }
+        public string Mobile { get; set; }
+        public string IdNo { get; set; }
+        public string Gender { get; set; }
+        public string Role { get; set; }
+        public string ChannelCode { get; set; }
+        public string ChannelName { get; set; }
+        public string ProvincialCompany { get; set; }
+        public string InviteCode { get; set; }
+        public string OpenTime { get; set; }
+        public int UserId { get; set; }
+        public string BrhId { get; set; }
+        public string BrhName { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 24 - 0
KxsUserModels/KxsLeader.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeader
+    {
+        public int Id { get; set; }
+        public int LeaderLevel { get; set; }
+        public DateTime? LastBuyDate { get; set; }
+        public DateTime? ExpiredDate { get; set; }
+        public int LeaderType { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public string CreateBy { get; set; }
+        public string UpdateBy { get; set; }
+        public string Remark { get; set; }
+        public int Status { get; set; }
+        public int ComFlag { get; set; }
+    }
+}

+ 27 - 0
KxsUserModels/KxsLeaderAccountLog.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeaderAccountLog
+    {
+        public int Id { get; set; }
+        public int TradeDate { get; set; }
+        public int TradeMonth { get; set; }
+        public int DataId { get; set; }
+        public int ChangeType { get; set; }
+        public int SourceUserId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 29 - 0
KxsUserModels/KxsLeaderAmountLog.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeaderAmountLog
+    {
+        public int Id { get; set; }
+        public decimal UseAmount { get; set; }
+        public decimal BeforeWithdrawalAmount { get; set; }
+        public decimal AfterWithdrawalAmount { get; set; }
+        public decimal UseWithdrawalAmount { get; set; }
+        public int ChangeType { get; set; }
+        public int OrderId { get; set; }
+        public int SourceUserId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsLeaderByOrder.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeaderByOrder
+    {
+        public int Id { get; set; }
+        public int UserId { get; set; }
+        public string ByData { get; set; }
+        public int ByNum { get; set; }
+        public string OrderSn { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsLeaderByOrderInfo.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeaderByOrderInfo
+    {
+        public int Id { get; set; }
+        public int OrderId { get; set; }
+        public int BrandType { get; set; }
+        public string TicketCode { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsLeaderLimitLog.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLeaderLimitLog
+    {
+        public int Id { get; set; }
+        public decimal ValidLimit { get; set; }
+        public decimal ReturnLimit { get; set; }
+        public int LeaderId { get; set; }
+        public int SourceUserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 20 - 0
KxsUserModels/KxsLevelConfig.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsLevelConfig
+    {
+        public int Id { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string CreateBy { get; set; }
+        public string UpdateBy { get; set; }
+        public string Remark { get; set; }
+        public decimal StartAmt { get; set; }
+        public decimal EndAmt { get; set; }
+        public int Level { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsPartner.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsPartner
+    {
+        public int Id { get; set; }
+        public DateTime? ExpiredDate { get; set; }
+        public int PartnerLevel { get; set; }
+        public int UserId { get; set; }
+        public decimal WithdrawalAmount { get; set; }
+        public decimal StoreAmount { get; set; }
+        public decimal Amount { get; set; }
+        public int PartnerType { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 29 - 0
KxsUserModels/KxsPartnerAmountLog.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsPartnerAmountLog
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public int ChangeType { get; set; }
+        public decimal AfterWithdrawalAmount { get; set; }
+        public decimal AfterStoreAmount { get; set; }
+        public decimal UseWithdrawalAmount { get; set; }
+        public decimal UseTotalAmount { get; set; }
+        public decimal UseStoreAmount { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsProfitBase.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitBase
+    {
+        public int Id { get; set; }
+        public decimal ProfitRate { get; set; }
+        public string Name { get; set; }
+        public int Status { get; set; }
+        public string Remark { get; set; }
+        public string UpdateBy { get; set; }
+        public string CreateBy { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public string LvKey { get; set; }
+        public int Level { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsProfitConfig.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitConfig
+    {
+        public int Id { get; set; }
+        public int BaseId { get; set; }
+        public int ProfitType { get; set; }
+        public int BrandId { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string CreateBy { get; set; }
+        public string UpdateBy { get; set; }
+        public string Remark { get; set; }
+        public int Status { get; set; }
+        public int Level { get; set; }
+    }
+}

+ 26 - 0
KxsUserModels/KxsProfitInit.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitInit
+    {
+        public int Id { get; set; }
+        public int FromUserId { get; set; }
+        public int Status { get; set; }
+        public string MessageId { get; set; }
+        public int ProfitMonth { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int ProfitType { get; set; }
+        public int BrandId { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string Remark { get; set; }
+        public int Level { get; set; }
+        public decimal TradeAmt { get; set; }
+        public decimal Rate { get; set; }
+    }
+}

+ 26 - 0
KxsUserModels/KxsProfitInit2024.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitInit2024
+    {
+        public int Id { get; set; }
+        public int FromUserId { get; set; }
+        public int Status { get; set; }
+        public string MessageId { get; set; }
+        public int ProfitMonth { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int ProfitType { get; set; }
+        public int BrandId { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string Remark { get; set; }
+        public int Level { get; set; }
+        public decimal TradeAmt { get; set; }
+        public decimal Rate { get; set; }
+    }
+}

+ 26 - 0
KxsUserModels/KxsProfitInitBefore.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitInitBefore
+    {
+        public int Id { get; set; }
+        public int FromUserId { get; set; }
+        public int Status { get; set; }
+        public string MessageId { get; set; }
+        public int ProfitMonth { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int ProfitType { get; set; }
+        public int BrandId { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string Remark { get; set; }
+        public int Level { get; set; }
+        public decimal TradeAmt { get; set; }
+        public decimal Rate { get; set; }
+    }
+}

+ 26 - 0
KxsUserModels/KxsProfitInitBefore2024.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsProfitInitBefore2024
+    {
+        public int Id { get; set; }
+        public int FromUserId { get; set; }
+        public int Status { get; set; }
+        public string MessageId { get; set; }
+        public int ProfitMonth { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int ProfitType { get; set; }
+        public int BrandId { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public string DelFlag { get; set; }
+        public int Version { get; set; }
+        public string Remark { get; set; }
+        public int Level { get; set; }
+        public decimal TradeAmt { get; set; }
+        public decimal Rate { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsShdScore.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsShdScore
+    {
+        public int Id { get; set; }
+        public int UserId { get; set; }
+        public int Month { get; set; }
+        public int HighScore { get; set; }
+        public int CenterScore { get; set; }
+        public int FirstScore { get; set; }
+        public string UserCode { get; set; }
+        public string Username { get; set; }
+        public long Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 20 - 0
KxsUserModels/KxsShdTradeAmt.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsShdTradeAmt
+    {
+        public int Id { get; set; }
+        public decimal HighBonus { get; set; }
+        public decimal CenterBonus { get; set; }
+        public decimal FirstBonus { get; set; }
+        public decimal BonusPool { get; set; }
+        public string TradeMonth { get; set; }
+        public decimal TradeAmt { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsTotalDebt.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsTotalDebt
+    {
+        public int Id { get; set; }
+        public string Remark { get; set; }
+        public string CreateBy { get; set; }
+        public decimal TotalDebt { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsTotalDebtLog.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsTotalDebtLog
+    {
+        public int Id { get; set; }
+        public string CreateBy { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public int ChangeType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 20 - 0
KxsUserModels/KxsTradeLevelLog.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsTradeLevelLog
+    {
+        public int Id { get; set; }
+        public decimal TradeAmt { get; set; }
+        public int TradeMonth { get; set; }
+        public string Remark { get; set; }
+        public int Level { get; set; }
+        public int LastLevel { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 37 - 0
KxsUserModels/KxsUser.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUser
+    {
+        public int Id { get; set; }
+        public DateTime? ToMerchantMakerTime { get; set; }
+        public string Remark { get; set; }
+        public int IsMinWarehouse { get; set; }
+        public int IsMerchantMaker { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public int RealStatus { get; set; }
+        public string HandPwd { get; set; }
+        public string PayPwd { get; set; }
+        public int UserLevel { get; set; }
+        public string Salt { get; set; }
+        public string Avatar { get; set; }
+        public string UserCode { get; set; }
+        public string PidPath { get; set; }
+        public int Pid { get; set; }
+        public string Address { get; set; }
+        public string Phone { get; set; }
+        public string Password { get; set; }
+        public string Username { get; set; }
+        public int HiddenLevel { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public decimal ThisMonthTrade { get; set; }
+        public string UpdateBy { get; set; }
+        public string CreateBy { get; set; }
+        public DateTime? LogoutTime { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsUserAddress.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAddress
+    {
+        public int Id { get; set; }
+        public int IsDefault { get; set; }
+        public string Area { get; set; }
+        public string City { get; set; }
+        public string Province { get; set; }
+        public string Consignee { get; set; }
+        public string Phone { get; set; }
+        public string Address { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsUserAdvance.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAdvance
+    {
+        public int Id { get; set; }
+        public int Status { get; set; }
+        public string CreateBy { get; set; }
+        public decimal Amount { get; set; }
+        public string Remark { get; set; }
+        public int AdvanceType { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public int Kind { get; set; }
+        public string ExtField { get; set; }
+    }
+}

+ 27 - 0
KxsUserModels/KxsUserAmount.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmount
+    {
+        public int Id { get; set; }
+        public decimal PartnerAdvanceAmount { get; set; }
+        public decimal LeaderAdvanceAmount { get; set; }
+        public decimal LeaderBalanceAmount { get; set; }
+        public decimal LeaderReserve { get; set; }
+        public decimal AdvanceAmount { get; set; }
+        public int UserId { get; set; }
+        public decimal TotalAmount { get; set; }
+        public decimal CashWithdrawalAmount { get; set; }
+        public decimal FrozenAmount { get; set; }
+        public decimal UseAmount { get; set; }
+        public decimal Amount { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public int Status { get; set; }
+        public string Remark { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202203.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202203
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202204.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202204
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202205.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202205
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202206.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202206
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202207.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202207
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202208.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202208
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202209.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202209
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202210.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202210
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202211.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202211
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202212.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202212
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202301.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202301
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202302.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202302
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202303.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202303
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202304.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202304
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202305.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202305
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202306.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202306
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202307.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202307
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202308.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202308
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202309.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202309
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202310.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202310
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202311.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202311
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202312.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202312
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202401.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202401
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202402.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202402
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202403.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202403
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202404.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202404
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202405.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202405
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202406.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202406
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202407.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202407
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202408.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202408
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202409.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202409
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202410.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202410
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202411.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202411
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 25 - 0
KxsUserModels/KxsUserAmountLog202412.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAmountLog202412
+    {
+        public int Id { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string Kind { get; set; }
+        public string VariationCause { get; set; }
+        public int VariationType { get; set; }
+        public decimal Amount { get; set; }
+        public decimal AfterAmount { get; set; }
+        public decimal BeforeAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 24 - 0
KxsUserModels/KxsUserAward.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserAward
+    {
+        public int Id { get; set; }
+        public string UpdateBy { get; set; }
+        public string CreateBy { get; set; }
+        public string AwardNo { get; set; }
+        public string Remark { get; set; }
+        public string BatchNo { get; set; }
+        public int SyncStatus { get; set; }
+        public int GrantStatus { get; set; }
+        public decimal Amount { get; set; }
+        public int VariationType { get; set; }
+        public int UserId { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public int DelFlag { get; set; }
+        public int Version { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsUserBank.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserBank
+    {
+        public int Id { get; set; }
+        public string BankCardName { get; set; }
+        public string BankPic { get; set; }
+        public string BankCode { get; set; }
+        public string BankPhone { get; set; }
+        public string BankOpen { get; set; }
+        public string BankName { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 23 - 0
KxsUserModels/KxsUserByStage.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserByStage
+    {
+        public int Id { get; set; }
+        public string CreateBy { get; set; }
+        public string Remark { get; set; }
+        public string StageSn { get; set; }
+        public DateTime? DeductStartTime { get; set; }
+        public decimal DeductAmount { get; set; }
+        public decimal StageAmount { get; set; }
+        public int Number { get; set; }
+        public int Status { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsUserByStageLog.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserByStageLog
+    {
+        public int Id { get; set; }
+        public string CreateBy { get; set; }
+        public string Remark { get; set; }
+        public DateTime? DeductTime { get; set; }
+        public decimal Amount { get; set; }
+        public int ThisNumber { get; set; }
+        public int Status { get; set; }
+        public int StageId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 19 - 0
KxsUserModels/KxsUserEquity.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserEquity
+    {
+        public int Id { get; set; }
+        public int IsHide { get; set; }
+        public int Sort { get; set; }
+        public int EquityType { get; set; }
+        public string Name { get; set; }
+        public string IconUrl { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsUserLevelLog.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserLevelLog
+    {
+        public int Id { get; set; }
+        public int CreateById { get; set; }
+        public int PresetLevel { get; set; }
+        public DateTime? EndTime { get; set; }
+        public DateTime? StartTime { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public string Remark { get; set; }
+        public string CreateBy { get; set; }
+    }
+}

+ 19 - 0
KxsUserModels/KxsUserPresetBefore.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserPresetBefore
+    {
+        public int Id { get; set; }
+        public int CreateById { get; set; }
+        public int PresetLevel { get; set; }
+        public DateTime? EndTime { get; set; }
+        public DateTime? StartTime { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 19 - 0
KxsUserModels/KxsUserPresetLog.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserPresetLog
+    {
+        public int Id { get; set; }
+        public int CreateById { get; set; }
+        public int PresetLevel { get; set; }
+        public DateTime? EndTime { get; set; }
+        public DateTime? StartTime { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 23 - 0
KxsUserModels/KxsUserProfit.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserProfit
+    {
+        public int Id { get; set; }
+        public int IsTeam { get; set; }
+        public int TradeType { get; set; }
+        public string BrandName { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public int ProfitMonth { get; set; }
+        public int Status { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsUserProfitLkb.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserProfitLkb
+    {
+        public int Id { get; set; }
+        public int IsTeam { get; set; }
+        public int TradeType { get; set; }
+        public string Remark { get; set; }
+        public int ProfitMonth { get; set; }
+        public int Status { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 21 - 0
KxsUserModels/KxsUserProfitZlb.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserProfitZlb
+    {
+        public int Id { get; set; }
+        public decimal TradeAmt { get; set; }
+        public int IsTeam { get; set; }
+        public string Remark { get; set; }
+        public int ProfitMonth { get; set; }
+        public int Status { get; set; }
+        public decimal ProfitAmt { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 19 - 0
KxsUserModels/KxsUserReReal.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserReReal
+    {
+        public int Id { get; set; }
+        public string UserCode { get; set; }
+        public string Username { get; set; }
+        public int UserId { get; set; }
+        public string CreateBy { get; set; }
+        public string Remark { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 20 - 0
KxsUserModels/KxsUserReal.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserReal
+    {
+        public int Id { get; set; }
+        public string IdCardFront { get; set; }
+        public string IdCardRear { get; set; }
+        public string IdCardHand { get; set; }
+        public int UserId { get; set; }
+        public string RealName { get; set; }
+        public string IdCard { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 18 - 0
KxsUserModels/KxsUserRealLevel.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserRealLevel
+    {
+        public int Id { get; set; }
+        public long Pid { get; set; }
+        public long UserId { get; set; }
+        public string Level { get; set; }
+        public string Month { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 29 - 0
KxsUserModels/KxsUserWithdrawal.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserWithdrawal
+    {
+        public int Id { get; set; }
+        public string ChannelName { get; set; }
+        public string BankCode { get; set; }
+        public string BankName { get; set; }
+        public int WithdrawalType { get; set; }
+        public string Result { get; set; }
+        public int ApplyStatus { get; set; }
+        public int Status { get; set; }
+        public string Remark { get; set; }
+        public string ApplyNo { get; set; }
+        public decimal ServiceAmount { get; set; }
+        public decimal TaxAmount { get; set; }
+        public decimal RealAmount { get; set; }
+        public decimal ApplyAmount { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public decimal BeforeAmt { get; set; }
+    }
+}

+ 22 - 0
KxsUserModels/KxsUserYuepay.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsUserYuepay
+    {
+        public int Id { get; set; }
+        public decimal TradeAmount { get; set; }
+        public int TradeStatus { get; set; }
+        public string PassbackParams { get; set; }
+        public string Subject { get; set; }
+        public int UserId { get; set; }
+        public string OutTradeNo { get; set; }
+        public string TradeNo { get; set; }
+        public int Version { get; set; }
+        public int DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+        public decimal RefundAmount { get; set; }
+    }
+}

+ 16 - 0
KxsUserModels/KxsWithdrawalConfig.cs

@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class KxsWithdrawalConfig
+    {
+        public int Id { get; set; }
+        public int ToUserId { get; set; }
+        public int UserId { get; set; }
+        public int Version { get; set; }
+        public string DelFlag { get; set; }
+        public DateTime? UpdateTime { get; set; }
+        public DateTime? CreateTime { get; set; }
+    }
+}

+ 16 - 0
KxsUserModels/UndoLog.cs

@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class UndoLog
+    {
+        public long BranchId { get; set; }
+        public string Xid { get; set; }
+        public string Context { get; set; }
+        public byte[] RollbackInfo { get; set; }
+        public int LogStatus { get; set; }
+        public DateTime LogCreated { get; set; }
+        public DateTime LogModified { get; set; }
+    }
+}

+ 6723 - 0
KxsUserModels/WebCMSEntities.cs

@@ -0,0 +1,6723 @@
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Metadata;
+
+namespace MySystem.KxsUserModels
+{
+    public partial class WebCMSEntities : DbContext
+    {
+        public WebCMSEntities()
+        {
+        }
+
+        public WebCMSEntities(DbContextOptions<WebCMSEntities> options)
+            : base(options)
+        {
+        }
+
+        public virtual DbSet<KxsBankChangeLog> KxsBankChangeLog { get; set; }
+        public virtual DbSet<KxsBase> KxsBase { get; set; }
+        public virtual DbSet<KxsCashResult> KxsCashResult { get; set; }
+        public virtual DbSet<KxsChangeType> KxsChangeType { get; set; }
+        public virtual DbSet<KxsChangeTypeKind> KxsChangeTypeKind { get; set; }
+        public virtual DbSet<KxsGdOpenInfo> KxsGdOpenInfo { get; set; }
+        public virtual DbSet<KxsLeader> KxsLeader { get; set; }
+        public virtual DbSet<KxsLeaderAccountLog> KxsLeaderAccountLog { get; set; }
+        public virtual DbSet<KxsLeaderAmountLog> KxsLeaderAmountLog { get; set; }
+        public virtual DbSet<KxsLeaderByOrder> KxsLeaderByOrder { get; set; }
+        public virtual DbSet<KxsLeaderByOrderInfo> KxsLeaderByOrderInfo { get; set; }
+        public virtual DbSet<KxsLeaderLimitLog> KxsLeaderLimitLog { get; set; }
+        public virtual DbSet<KxsLevelConfig> KxsLevelConfig { get; set; }
+        public virtual DbSet<KxsPartner> KxsPartner { get; set; }
+        public virtual DbSet<KxsPartnerAmountLog> KxsPartnerAmountLog { get; set; }
+        public virtual DbSet<KxsProfitBase> KxsProfitBase { get; set; }
+        public virtual DbSet<KxsProfitConfig> KxsProfitConfig { get; set; }
+        public virtual DbSet<KxsProfitInit> KxsProfitInit { get; set; }
+        public virtual DbSet<KxsProfitInit2024> KxsProfitInit2024 { get; set; }
+        public virtual DbSet<KxsProfitInitBefore> KxsProfitInitBefore { get; set; }
+        public virtual DbSet<KxsProfitInitBefore2024> KxsProfitInitBefore2024 { get; set; }
+        public virtual DbSet<KxsShdScore> KxsShdScore { get; set; }
+        public virtual DbSet<KxsShdTradeAmt> KxsShdTradeAmt { get; set; }
+        public virtual DbSet<KxsTotalDebt> KxsTotalDebt { get; set; }
+        public virtual DbSet<KxsTotalDebtLog> KxsTotalDebtLog { get; set; }
+        public virtual DbSet<KxsTradeLevelLog> KxsTradeLevelLog { get; set; }
+        public virtual DbSet<KxsUser> KxsUser { get; set; }
+        public virtual DbSet<KxsUserAddress> KxsUserAddress { get; set; }
+        public virtual DbSet<KxsUserAdvance> KxsUserAdvance { get; set; }
+        public virtual DbSet<KxsUserAmount> KxsUserAmount { get; set; }
+        public virtual DbSet<KxsUserAmountLog> KxsUserAmountLog { get; set; }
+        public virtual DbSet<KxsUserAmountLog202203> KxsUserAmountLog202203 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202204> KxsUserAmountLog202204 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202205> KxsUserAmountLog202205 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202206> KxsUserAmountLog202206 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202207> KxsUserAmountLog202207 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202208> KxsUserAmountLog202208 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202209> KxsUserAmountLog202209 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202210> KxsUserAmountLog202210 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202211> KxsUserAmountLog202211 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202212> KxsUserAmountLog202212 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202301> KxsUserAmountLog202301 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202302> KxsUserAmountLog202302 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202303> KxsUserAmountLog202303 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202304> KxsUserAmountLog202304 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202305> KxsUserAmountLog202305 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202306> KxsUserAmountLog202306 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202307> KxsUserAmountLog202307 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202308> KxsUserAmountLog202308 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202309> KxsUserAmountLog202309 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202310> KxsUserAmountLog202310 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202311> KxsUserAmountLog202311 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202312> KxsUserAmountLog202312 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202401> KxsUserAmountLog202401 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202402> KxsUserAmountLog202402 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202403> KxsUserAmountLog202403 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202404> KxsUserAmountLog202404 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202405> KxsUserAmountLog202405 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202406> KxsUserAmountLog202406 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202407> KxsUserAmountLog202407 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202408> KxsUserAmountLog202408 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202409> KxsUserAmountLog202409 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202410> KxsUserAmountLog202410 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202411> KxsUserAmountLog202411 { get; set; }
+        public virtual DbSet<KxsUserAmountLog202412> KxsUserAmountLog202412 { get; set; }
+        public virtual DbSet<KxsUserAward> KxsUserAward { get; set; }
+        public virtual DbSet<KxsUserBank> KxsUserBank { get; set; }
+        public virtual DbSet<KxsUserByStage> KxsUserByStage { get; set; }
+        public virtual DbSet<KxsUserByStageLog> KxsUserByStageLog { get; set; }
+        public virtual DbSet<KxsUserEquity> KxsUserEquity { get; set; }
+        public virtual DbSet<KxsUserLevelLog> KxsUserLevelLog { get; set; }
+        public virtual DbSet<KxsUserPresetBefore> KxsUserPresetBefore { get; set; }
+        public virtual DbSet<KxsUserPresetLog> KxsUserPresetLog { get; set; }
+        public virtual DbSet<KxsUserProfit> KxsUserProfit { get; set; }
+        public virtual DbSet<KxsUserProfitLkb> KxsUserProfitLkb { get; set; }
+        public virtual DbSet<KxsUserProfitZlb> KxsUserProfitZlb { get; set; }
+        public virtual DbSet<KxsUserReReal> KxsUserReReal { get; set; }
+        public virtual DbSet<KxsUserReal> KxsUserReal { get; set; }
+        public virtual DbSet<KxsUserRealLevel> KxsUserRealLevel { get; set; }
+        public virtual DbSet<KxsUserWithdrawal> KxsUserWithdrawal { get; set; }
+        public virtual DbSet<KxsUserYuepay> KxsUserYuepay { get; set; }
+        public virtual DbSet<KxsWithdrawalConfig> KxsWithdrawalConfig { get; set; }
+        public virtual DbSet<UndoLog> UndoLog { get; set; }
+
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+        {
+            if (!optionsBuilder.IsConfigured)
+            {
+                optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["KxsUserSqlConnStr"].ToString(), x => x.ServerVersion("5.7.17-mysql"));
+            }
+        }
+
+        protected override void OnModelCreating(ModelBuilder modelBuilder)
+        {
+            modelBuilder.Entity<KxsBankChangeLog>(entity =>
+            {
+                entity.ToTable("kxs_bank_change_log");
+
+                entity.HasComment("用户结算卡变更记录");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterBankName)
+                    .HasColumnName("after_bank_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("变更后银行卡名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.AfterCardNo)
+                    .HasColumnName("after_card_no")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("变更后卡号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BeforeBankName)
+                    .HasColumnName("before_bank_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("变更前银行卡名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BeforeCardNo)
+                    .HasColumnName("before_card_no")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("变更前卡号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsBase>(entity =>
+            {
+                entity.ToTable("kxs_base");
+
+                entity.HasComment("基础字段表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsCashResult>(entity =>
+            {
+                entity.ToTable("kxs_cash_result");
+
+                entity.HasComment("提现进件结果表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("添加人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IfCode)
+                    .HasColumnName("if_code")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("通道编码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Result)
+                    .HasColumnName("result")
+                    .HasColumnType("varchar(2000)")
+                    .HasComment("返回结果")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("更新人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsChangeType>(entity =>
+            {
+                entity.ToTable("kxs_change_type");
+
+                entity.HasComment("收支明细分类表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("收支类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Name)
+                    .HasColumnName("name")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("分类名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Sort)
+                    .HasColumnName("sort")
+                    .HasComment("排序");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsChangeTypeKind>(entity =>
+            {
+                entity.ToTable("kxs_change_type_kind");
+
+                entity.HasComment("收支明细分类明细表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.ChangeTypeId)
+                    .HasColumnName("change_type_id")
+                    .HasComment("分类ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("收支类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Name)
+                    .HasColumnName("name")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("类型名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Sort)
+                    .HasColumnName("sort")
+                    .HasComment("排序");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsGdOpenInfo>(entity =>
+            {
+                entity.ToTable("kxs_gd_open_info");
+
+                entity.HasComment("行销宝工号信息");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrhId)
+                    .HasColumnName("brh_id")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("机构用户编码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BrhName)
+                    .HasColumnName("brh_name")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("机构名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ChannelCode)
+                    .HasColumnName("channel_code")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("归属社招渠道编码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ChannelName)
+                    .HasColumnName("channel_name")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("归属社招渠道名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Gender)
+                    .HasColumnName("gender")
+                    .HasColumnType("varchar(12)")
+                    .HasComment("性别")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IdNo)
+                    .HasColumnName("id_no")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("身份证号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.InviteCode)
+                    .HasColumnName("invite_code")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("邀请码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.JobId)
+                    .HasColumnName("job_id")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("行销宝工号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.JobStatus)
+                    .HasColumnName("job_status")
+                    .HasColumnType("varchar(10)")
+                    .HasComment("工号状态")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Mobile)
+                    .HasColumnName("mobile")
+                    .HasColumnType("varchar(16)")
+                    .HasComment("手机号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.OpenTime)
+                    .HasColumnName("open_time")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("开通时间")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.OprName)
+                    .HasColumnName("opr_name")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("人员姓名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProvincialCompany)
+                    .HasColumnName("provincial_company")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("归属省公司")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Role)
+                    .HasColumnName("role")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("角色")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeader>(entity =>
+            {
+                entity.ToTable("kxs_leader");
+
+                entity.HasComment("盟主表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.ComFlag)
+                    .HasColumnName("com_flag")
+                    .HasComment("是否对公(1:是,0:否)");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("创建人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.ExpiredDate)
+                    .HasColumnName("expired_date")
+                    .HasColumnType("datetime")
+                    .HasComment("过期时间");
+
+                entity.Property(e => e.LastBuyDate)
+                    .HasColumnName("last_buy_date")
+                    .HasColumnType("datetime")
+                    .HasComment("最后购买时间");
+
+                entity.Property(e => e.LeaderLevel)
+                    .HasColumnName("leader_level")
+                    .HasComment("盟主预设职级");
+
+                entity.Property(e => e.LeaderType)
+                    .HasColumnName("leader_type")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("盟主类型 小盟主=1 大盟主=2");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0正常版本 1基础版本");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("修改人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeaderAccountLog>(entity =>
+            {
+                entity.ToTable("kxs_leader_account_log");
+
+                entity.HasComment("盟主金额变动记录");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.ChangeType)
+                    .HasColumnName("change_type")
+                    .HasComment("变动类型 可提现余额增减=0 储蓄金增减=1");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DataId)
+                    .HasColumnName("data_id")
+                    .HasComment("数据来源Id");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.SourceUserId)
+                    .HasColumnName("source_user_id")
+                    .HasComment("大盟主的用户ID 标记");
+
+                entity.Property(e => e.TradeDate)
+                    .HasColumnName("trade_date")
+                    .HasComment("交易天");
+
+                entity.Property(e => e.TradeMonth)
+                    .HasColumnName("trade_month")
+                    .HasComment("月份");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(1000)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型 对应chang_type表");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeaderAmountLog>(entity =>
+            {
+                entity.ToTable("kxs_leader_amount_log");
+
+                entity.HasComment("盟主金额变动记录");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterWithdrawalAmount)
+                    .HasColumnName("after_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后可提现额度");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeWithdrawalAmount)
+                    .HasColumnName("before_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前可提现额度");
+
+                entity.Property(e => e.ChangeType)
+                    .HasColumnName("change_type")
+                    .HasComment("收支类型 对应change_type表");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.OrderId)
+                    .HasColumnName("order_id")
+                    .HasComment("订单ID");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.SourceUserId)
+                    .HasColumnName("source_user_id")
+                    .HasComment("大盟主的用户ID 标记");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UseAmount)
+                    .HasColumnName("use_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动储蓄金金额");
+
+                entity.Property(e => e.UseWithdrawalAmount)
+                    .HasColumnName("use_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动可提现额度");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(1000)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeaderByOrder>(entity =>
+            {
+                entity.ToTable("kxs_leader_by_order");
+
+                entity.HasComment("盟主兑换订单表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.ByData)
+                    .HasColumnName("by_data")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("兑换数量和类型的明细")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ByNum)
+                    .HasColumnName("by_num")
+                    .HasComment("兑换数量");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.OrderSn)
+                    .HasColumnName("order_sn")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("订单号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeaderByOrderInfo>(entity =>
+            {
+                entity.ToTable("kxs_leader_by_order_info");
+
+                entity.HasComment("盟主兑换记录券");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandType)
+                    .HasColumnName("brand_type")
+                    .HasComment("类型 0电签 1大pos");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.OrderId)
+                    .HasColumnName("order_id")
+                    .HasComment("订单ID");
+
+                entity.Property(e => e.TicketCode)
+                    .HasColumnName("ticket_code")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("机具券")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLeaderLimitLog>(entity =>
+            {
+                entity.ToTable("kxs_leader_limit_log");
+
+                entity.HasComment("盟主额度返还来源记录表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.LeaderId)
+                    .HasColumnName("leader_id")
+                    .HasComment("大盟主/合伙人的用户ID");
+
+                entity.Property(e => e.ReturnLimit)
+                    .HasColumnName("return_limit")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("返还的额度");
+
+                entity.Property(e => e.SourceUserId)
+                    .HasColumnName("source_user_id")
+                    .HasComment("额度来源创客ID");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.ValidLimit)
+                    .HasColumnName("valid_limit")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("剩余额度");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsLevelConfig>(entity =>
+            {
+                entity.ToTable("kxs_level_config");
+
+                entity.HasComment("创客分润等级配置表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("添加人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.EndAmt)
+                    .HasColumnName("end_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("最大额度");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("等级");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.StartAmt)
+                    .HasColumnName("start_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("开始额度");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("修改人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsPartner>(entity =>
+            {
+                entity.ToTable("kxs_partner");
+
+                entity.HasComment("合伙人表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("未使用额度");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.ExpiredDate)
+                    .HasColumnName("expired_date")
+                    .HasColumnType("datetime")
+                    .HasComment("过期时间");
+
+                entity.Property(e => e.PartnerLevel)
+                    .HasColumnName("partner_level")
+                    .HasComment("合伙人职级");
+
+                entity.Property(e => e.PartnerType)
+                    .HasColumnName("partner_type")
+                    .HasComment("合伙人等级");
+
+                entity.Property(e => e.StoreAmount)
+                    .HasColumnName("store_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("关联分仓额度");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+
+                entity.Property(e => e.WithdrawalAmount)
+                    .HasColumnName("withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("可提现额度");
+            });
+
+            modelBuilder.Entity<KxsPartnerAmountLog>(entity =>
+            {
+                entity.ToTable("kxs_partner_amount_log");
+
+                entity.HasComment("合伙人金额变动记录");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterStoreAmount)
+                    .HasColumnName("after_store_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用后关联分仓额度");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后可使用额度");
+
+                entity.Property(e => e.AfterWithdrawalAmount)
+                    .HasColumnName("after_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用后可提现额度");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.ChangeType)
+                    .HasColumnName("change_type")
+                    .HasComment("收支类别");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UseStoreAmount)
+                    .HasColumnName("use_store_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用关联分仓额度");
+
+                entity.Property(e => e.UseTotalAmount)
+                    .HasColumnName("use_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用未使用额度");
+
+                entity.Property(e => e.UseWithdrawalAmount)
+                    .HasColumnName("use_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用可提现额度");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitBase>(entity =>
+            {
+                entity.ToTable("kxs_profit_base");
+
+                entity.HasComment("分润配置分类表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("添加人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("等级");
+
+                entity.Property(e => e.LvKey)
+                    .HasColumnName("lv_key")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("分类key")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Name)
+                    .HasColumnName("name")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("分类名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProfitRate)
+                    .HasColumnName("profit_rate")
+                    .HasColumnType("decimal(18,4)")
+                    .HasComment("分润比例");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("状态: 0-停用 1-启用");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("修改人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitConfig>(entity =>
+            {
+                entity.ToTable("kxs_profit_config");
+
+                entity.HasComment("分润配置表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BaseId)
+                    .HasColumnName("base_id")
+                    .HasComment("分润比例ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("添加人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("等级");
+
+                entity.Property(e => e.ProfitType)
+                    .HasColumnName("profit_type")
+                    .HasComment("分润类型");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("状态: 0-停用 1-启用");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("修改人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitInit>(entity =>
+            {
+                entity.ToTable("kxs_profit_init");
+
+                entity.HasComment("分润计算各品牌初始表");
+
+                entity.HasIndex(e => new { e.FromUserId, e.Status, e.ProfitMonth, e.UserId, e.ProfitType, e.BrandId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FromUserId)
+                    .HasColumnName("from_user_id")
+                    .HasComment("分润来源用户ID");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("计算时的最高等级");
+
+                entity.Property(e => e.MessageId)
+                    .HasColumnName("message_id")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("处理批次号 消息ID")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.ProfitType)
+                    .HasColumnName("profit_type")
+                    .HasComment("分润类型 0直推 1团队 0直推 1团队 ");
+
+                entity.Property(e => e.Rate)
+                    .HasColumnName("rate")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("级差比例");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0未展示 1已展示0未展示 1已展示");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("计算的交易额");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitInit2024>(entity =>
+            {
+                entity.ToTable("kxs_profit_init_2024");
+
+                entity.HasComment("分润计算各品牌初始表");
+
+                entity.HasIndex(e => new { e.FromUserId, e.Status, e.ProfitMonth, e.UserId, e.ProfitType, e.BrandId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FromUserId)
+                    .HasColumnName("from_user_id")
+                    .HasComment("分润来源用户ID");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("计算时的最高等级");
+
+                entity.Property(e => e.MessageId)
+                    .HasColumnName("message_id")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("处理批次号 消息ID")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.ProfitType)
+                    .HasColumnName("profit_type")
+                    .HasComment("分润类型 0直推 1团队 0直推 1团队 ");
+
+                entity.Property(e => e.Rate)
+                    .HasColumnName("rate")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("级差比例");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0未展示 1已展示0未展示 1已展示");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("计算的交易额");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitInitBefore>(entity =>
+            {
+                entity.ToTable("kxs_profit_init_before");
+
+                entity.HasComment("分润计算各品牌初始表");
+
+                entity.HasIndex(e => new { e.FromUserId, e.Status, e.ProfitMonth, e.UserId, e.ProfitType, e.BrandId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FromUserId)
+                    .HasColumnName("from_user_id")
+                    .HasComment("分润来源用户ID");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("计算时的最高等级");
+
+                entity.Property(e => e.MessageId)
+                    .HasColumnName("message_id")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("处理批次号 消息ID")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.ProfitType)
+                    .HasColumnName("profit_type")
+                    .HasComment("分润类型 0直推 1团队 0直推 1团队 ");
+
+                entity.Property(e => e.Rate)
+                    .HasColumnName("rate")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("级差比例");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0未展示 1已展示0未展示 1已展示");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("计算的交易额");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsProfitInitBefore2024>(entity =>
+            {
+                entity.ToTable("kxs_profit_init_before_2024");
+
+                entity.HasComment("分润计算各品牌初始表");
+
+                entity.HasIndex(e => new { e.FromUserId, e.Status, e.ProfitMonth, e.UserId, e.ProfitType, e.BrandId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FromUserId)
+                    .HasColumnName("from_user_id")
+                    .HasComment("分润来源用户ID");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("计算时的最高等级");
+
+                entity.Property(e => e.MessageId)
+                    .HasColumnName("message_id")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("处理批次号 消息ID")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.ProfitType)
+                    .HasColumnName("profit_type")
+                    .HasComment("分润类型 0直推 1团队 0直推 1团队 ");
+
+                entity.Property(e => e.Rate)
+                    .HasColumnName("rate")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("级差比例");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0未展示 1已展示0未展示 1已展示");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("计算的交易额");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsShdScore>(entity =>
+            {
+                entity.ToTable("kxs_shd_score");
+
+                entity.HasComment("股东大盘分红用户积分表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CenterScore)
+                    .HasColumnName("center_score")
+                    .HasComment("中级股东积分");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FirstScore)
+                    .HasColumnName("first_score")
+                    .HasComment("初级股东积分");
+
+                entity.Property(e => e.HighScore)
+                    .HasColumnName("high_score")
+                    .HasComment("高级股东积分");
+
+                entity.Property(e => e.Month)
+                    .HasColumnName("month")
+                    .HasComment("统计月份");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserCode)
+                    .HasColumnName("user_code")
+                    .HasColumnType("varchar(16)")
+                    .HasComment("用户编号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Username)
+                    .HasColumnName("username")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("用户名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsShdTradeAmt>(entity =>
+            {
+                entity.ToTable("kxs_shd_trade_amt");
+
+                entity.HasComment("股东大盘分红交易表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BonusPool)
+                    .HasColumnName("bonus_pool")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("总奖金池");
+
+                entity.Property(e => e.CenterBonus)
+                    .HasColumnName("center_bonus")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("中级股东奖金池");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.FirstBonus)
+                    .HasColumnName("first_bonus")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("初级奖金池");
+
+                entity.Property(e => e.HighBonus)
+                    .HasColumnName("high_bonus")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("高级股东奖金池");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("总交易额");
+
+                entity.Property(e => e.TradeMonth)
+                    .HasColumnName("trade_month")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("交易月份")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsTotalDebt>(entity =>
+            {
+                entity.ToTable("kxs_total_debt");
+
+                entity.HasComment("用户总欠款表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("创建人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.TotalDebt)
+                    .HasColumnName("total_debt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("总欠款");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("创客ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsTotalDebtLog>(entity =>
+            {
+                entity.ToTable("kxs_total_debt_log");
+
+                entity.HasComment("用户总欠款变动日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.ChangeType)
+                    .HasColumnName("change_type")
+                    .HasComment("变动类型 ");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsTradeLevelLog>(entity =>
+            {
+                entity.ToTable("kxs_trade_level_log");
+
+                entity.HasComment("用户交易职级日志表");
+
+                entity.HasIndex(e => new { e.UserId, e.TradeMonth })
+                    .HasName("query")
+                    .IsUnique();
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.LastLevel)
+                    .HasColumnName("last_level")
+                    .HasComment("上月职级");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasComment("当前职级");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("当前职级的交易额");
+
+                entity.Property(e => e.TradeMonth)
+                    .HasColumnName("trade_month")
+                    .HasComment("当前职级的月份");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUser>(entity =>
+            {
+                entity.ToTable("kxs_user");
+
+                entity.HasComment("用户表");
+
+                entity.HasIndex(e => e.Phone)
+                    .HasName("phone");
+
+                entity.HasIndex(e => e.Status)
+                    .HasName("status");
+
+                entity.HasIndex(e => e.UserCode)
+                    .HasName("userCode");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.Address)
+                    .HasColumnName("address")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("地址")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Avatar)
+                    .HasColumnName("avatar")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("头像")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.HandPwd)
+                    .HasColumnName("hand_pwd")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("手势密码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.HiddenLevel)
+                    .HasColumnName("hidden_level")
+                    .HasComment("隐藏推荐关系0默认 1隐藏");
+
+                entity.Property(e => e.IsMerchantMaker)
+                    .HasColumnName("is_merchant_maker")
+                    .HasComment("是否商户型创客 0否 1是");
+
+                entity.Property(e => e.IsMinWarehouse)
+                    .HasColumnName("is_min_warehouse")
+                    .HasComment("是否小分仓 0否 1是");
+
+                entity.Property(e => e.LogoutTime)
+                    .HasColumnName("logout_time")
+                    .HasColumnType("datetime")
+                    .HasComment("注销时间");
+
+                entity.Property(e => e.Password)
+                    .HasColumnName("password")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("密码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.PayPwd)
+                    .HasColumnName("pay_pwd")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("支付密码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Phone)
+                    .HasColumnName("phone")
+                    .HasColumnType("varchar(18)")
+                    .HasComment("手机号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Pid)
+                    .HasColumnName("pid")
+                    .HasComment("上级ID");
+
+                entity.Property(e => e.PidPath)
+                    .HasColumnName("pid_path")
+                    .HasColumnType("varchar(2000)")
+                    .HasComment("推荐人路径")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.RealStatus)
+                    .HasColumnName("real_status")
+                    .HasComment("实名状态 0未实名 1已实名");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(256)")
+                    .HasComment("备注信息")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Salt)
+                    .HasColumnName("salt")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("盐值")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("状态 0注销 1正常 2锁定不可登陆和提现");
+
+                entity.Property(e => e.ThisMonthTrade)
+                    .HasColumnName("this_month_trade")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("本月交易额");
+
+                entity.Property(e => e.ToMerchantMakerTime)
+                    .HasColumnName("to_merchant_maker_time")
+                    .HasColumnType("datetime")
+                    .HasComment("成为商户型创客时间");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("更新操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserCode)
+                    .HasColumnName("user_code")
+                    .HasColumnType("varchar(18)")
+                    .HasComment("邀请码")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UserLevel)
+                    .HasColumnName("user_level")
+                    .HasComment("用户等级");
+
+                entity.Property(e => e.Username)
+                    .HasColumnName("username")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("用户名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAddress>(entity =>
+            {
+                entity.ToTable("kxs_user_address");
+
+                entity.HasComment("用户收货地址表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.Address)
+                    .HasColumnName("address")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("详细地址")
+                    .HasCharSet("utf8mb4")
+                    .HasCollation("utf8mb4_0900_ai_ci");
+
+                entity.Property(e => e.Area)
+                    .HasColumnName("area")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("区县")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.City)
+                    .HasColumnName("city")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("城市")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Consignee)
+                    .HasColumnName("consignee")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("收货人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.IsDefault)
+                    .HasColumnName("is_default")
+                    .HasComment("是否默认 0否 1是");
+
+                entity.Property(e => e.Phone)
+                    .HasColumnName("phone")
+                    .HasColumnType("varchar(18)")
+                    .HasComment("联系电话")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Province)
+                    .HasColumnName("province")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("省份")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAdvance>(entity =>
+            {
+                entity.ToTable("kxs_user_advance");
+
+                entity.HasComment("客小爽用户预扣款表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AdvanceType)
+                    .HasColumnName("advance_type")
+                    .HasComment("预扣款类型 普通预扣款=1  分期预扣款=2 机具过期预扣款=124");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("金额");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.ExtField)
+                    .HasColumnName("ext_field")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("扩展字段")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasComment("待扣类别 创客预扣款=0 盟主预扣款=1 合伙人预扣款=2");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注信息")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("扣款标识 0未扣 1已扣 2撤销|已返还 3暂停扣款");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmount>(entity =>
+            {
+                entity.ToTable("kxs_user_amount");
+
+                entity.HasComment("用户账户表");
+
+                entity.HasIndex(e => e.UserId)
+                    .HasName("user_id");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AdvanceAmount)
+                    .HasColumnName("advance_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("预扣款");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("余额");
+
+                entity.Property(e => e.CashWithdrawalAmount)
+                    .HasColumnName("cash_withdrawal_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("已提现金额");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.FrozenAmount)
+                    .HasColumnName("frozen_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("冻结金额");
+
+                entity.Property(e => e.LeaderAdvanceAmount)
+                    .HasColumnName("leader_advance_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("盟主预扣款");
+
+                entity.Property(e => e.LeaderBalanceAmount)
+                    .HasColumnName("leader_balance_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("盟主余额");
+
+                entity.Property(e => e.LeaderReserve)
+                    .HasColumnName("leader_reserve")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("盟主储备金");
+
+                entity.Property(e => e.PartnerAdvanceAmount)
+                    .HasColumnName("partner_advance_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("合伙人预扣款");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("账户状态 1正常 0锁定 ");
+
+                entity.Property(e => e.TotalAmount)
+                    .HasColumnName("total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("累计总收益");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UseAmount)
+                    .HasColumnName("use_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("可使用余额");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202203>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202203");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202204>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202204");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202205>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202205");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202206>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202206");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202207>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202207");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202208>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202208");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202209>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202209");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202210>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202210");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202211>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202211");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202212>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202212");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202301>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202301");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202302>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202302");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202303>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202303");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202304>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202304");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202305>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202305");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202306>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202306");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202307>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202307");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202308>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202308");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202309>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202309");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202310>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202310");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202311>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202311");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202312>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202312");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202401>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202401");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202402>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202402");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202403>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202403");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202404>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202404");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202405>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202405");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202406>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202406");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202407>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202407");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202408>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202408");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202409>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202409");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202410>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202410");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202411>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202411");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAmountLog202412>(entity =>
+            {
+                entity.ToTable("kxs_user_amount_log_202412");
+
+                entity.HasComment("用户余额记录日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.AfterAmount)
+                    .HasColumnName("after_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后金额");
+
+                entity.Property(e => e.AfterTotalAmount)
+                    .HasColumnName("after_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动后总收益");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("操作金额");
+
+                entity.Property(e => e.BeforeAmount)
+                    .HasColumnName("before_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前金额");
+
+                entity.Property(e => e.BeforeTotalAmount)
+                    .HasColumnName("before_total_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("变动前总收益");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Kind)
+                    .HasColumnName("kind")
+                    .HasColumnType("varchar(6)")
+                    .HasComment("日志类型 add新增 sub减少")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.VariationCause)
+                    .HasColumnName("variation_cause")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("原因")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("金额类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserAward>(entity =>
+            {
+                entity.ToTable("kxs_user_award");
+
+                entity.HasComment("创客奖励记录信息");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("ID");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("奖励金额");
+
+                entity.Property(e => e.AwardNo)
+                    .HasColumnName("award_no")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("奖励单号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BatchNo)
+                    .HasColumnName("batch_no")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("批次号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("创建人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("创建时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记");
+
+                entity.Property(e => e.GrantStatus)
+                    .HasColumnName("grant_status")
+                    .HasComment("发放状态(0:初始、1:成功、2:失败)");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(100)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.SyncStatus)
+                    .HasColumnName("sync_status")
+                    .HasComment("同步状态(0:未同步,1:同步)");
+
+                entity.Property(e => e.UpdateBy)
+                    .HasColumnName("update_by")
+                    .HasColumnType("varchar(50)")
+                    .HasComment("更新人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户id");
+
+                entity.Property(e => e.VariationType)
+                    .HasColumnName("variation_type")
+                    .HasComment("奖励类型");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本号");
+            });
+
+            modelBuilder.Entity<KxsUserBank>(entity =>
+            {
+                entity.ToTable("kxs_user_bank");
+
+                entity.HasComment("用户银行卡表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BankCardName)
+                    .HasColumnName("bank_card_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("银行卡户名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankCode)
+                    .HasColumnName("bank_code")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("银行卡号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankName)
+                    .HasColumnName("bank_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("银行名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankOpen)
+                    .HasColumnName("bank_open")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("开户行")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankPhone)
+                    .HasColumnName("bank_phone")
+                    .HasColumnType("varchar(18)")
+                    .HasComment("预留手机号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankPic)
+                    .HasColumnName("bank_pic")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("银行卡照片")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserByStage>(entity =>
+            {
+                entity.ToTable("kxs_user_by_stage");
+
+                entity.HasComment("用户分期表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DeductAmount)
+                    .HasColumnName("deduct_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("已扣除金额");
+
+                entity.Property(e => e.DeductStartTime)
+                    .HasColumnName("deduct_start_time")
+                    .HasColumnType("datetime")
+                    .HasComment("扣款开始时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Number)
+                    .HasColumnName("number")
+                    .HasComment("期数");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.StageAmount)
+                    .HasColumnName("stage_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分期金额");
+
+                entity.Property(e => e.StageSn)
+                    .HasColumnName("stage_sn")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("分期单号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0待扣款 1扣款中 2已扣款");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserByStageLog>(entity =>
+            {
+                entity.ToTable("kxs_user_by_stage_log");
+
+                entity.HasComment("用户分期记录表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.Amount)
+                    .HasColumnName("amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("本期扣除金额");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DeductTime)
+                    .HasColumnName("deduct_time")
+                    .HasColumnType("datetime")
+                    .HasComment("扣款时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.StageId)
+                    .HasColumnName("stage_id")
+                    .HasComment("分期ID");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0待扣款 1扣款中 2已扣款 3扣款失败");
+
+                entity.Property(e => e.ThisNumber)
+                    .HasColumnName("this_number")
+                    .HasComment("当前期数");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserEquity>(entity =>
+            {
+                entity.ToTable("kxs_user_equity");
+
+                entity.HasComment("创客权益表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.EquityType)
+                    .HasColumnName("equity_type")
+                    .HasComment("特权类型 0基础 1小盟主 2大盟主 3合伙人");
+
+                entity.Property(e => e.IconUrl)
+                    .HasColumnName("icon_url")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("图标地址")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IsHide)
+                    .HasColumnName("is_hide")
+                    .HasComment("是否隐藏 0正常 1隐藏");
+
+                entity.Property(e => e.Name)
+                    .HasColumnName("name")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("特权名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Sort)
+                    .HasColumnName("sort")
+                    .HasDefaultValueSql("'50'")
+                    .HasComment("排序");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserLevelLog>(entity =>
+            {
+                entity.ToTable("kxs_user_level_log");
+
+                entity.HasComment("用户预设职级日志表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("创建人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateById)
+                    .HasColumnName("create_by_id")
+                    .HasComment("设置人");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.EndTime)
+                    .HasColumnName("end_time")
+                    .HasColumnType("datetime")
+                    .HasComment("结束时间");
+
+                entity.Property(e => e.PresetLevel)
+                    .HasColumnName("preset_level")
+                    .HasComment("预设等级");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.StartTime)
+                    .HasColumnName("start_time")
+                    .HasColumnType("datetime")
+                    .HasComment("开始时间");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserPresetBefore>(entity =>
+            {
+                entity.ToTable("kxs_user_preset_before");
+
+                entity.HasComment("用户存量预设职级表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateById)
+                    .HasColumnName("create_by_id")
+                    .HasComment("设置人");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.EndTime)
+                    .HasColumnName("end_time")
+                    .HasColumnType("datetime")
+                    .HasComment("结束时间");
+
+                entity.Property(e => e.PresetLevel)
+                    .HasColumnName("preset_level")
+                    .HasComment("预设等级");
+
+                entity.Property(e => e.StartTime)
+                    .HasColumnName("start_time")
+                    .HasColumnType("datetime")
+                    .HasComment("开始时间");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserPresetLog>(entity =>
+            {
+                entity.ToTable("kxs_user_preset_log");
+
+                entity.HasComment("用户预设职级表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateById)
+                    .HasColumnName("create_by_id")
+                    .HasComment("设置人");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.EndTime)
+                    .HasColumnName("end_time")
+                    .HasColumnType("datetime")
+                    .HasComment("结束时间");
+
+                entity.Property(e => e.PresetLevel)
+                    .HasColumnName("preset_level")
+                    .HasComment("预设等级");
+
+                entity.Property(e => e.StartTime)
+                    .HasColumnName("start_time")
+                    .HasColumnType("datetime")
+                    .HasComment("开始时间");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserProfit>(entity =>
+            {
+                entity.ToTable("kxs_user_profit");
+
+                entity.HasComment("用户分润表pos");
+
+                entity.HasIndex(e => e.IsTeam)
+                    .HasName("is_team");
+
+                entity.HasIndex(e => e.ProfitMonth)
+                    .HasName("month");
+
+                entity.HasIndex(e => e.UserId)
+                    .HasName("user_id");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.BrandId)
+                    .HasColumnName("brand_id")
+                    .HasComment("品牌ID");
+
+                entity.Property(e => e.BrandName)
+                    .HasColumnName("brand_name")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("品牌名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IsTeam)
+                    .HasColumnName("is_team")
+                    .HasComment("分润来源 0 直营 1团队");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0待入账 1已入账");
+
+                entity.Property(e => e.TradeType)
+                    .HasColumnName("trade_type")
+                    .HasComment("交易类型 0新增 1存量");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserProfitLkb>(entity =>
+            {
+                entity.ToTable("kxs_user_profit_lkb");
+
+                entity.HasComment("用户分润表来客吧");
+
+                entity.HasIndex(e => new { e.ProfitMonth, e.Status, e.UserId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IsTeam)
+                    .HasColumnName("is_team")
+                    .HasComment("分润来源 0 直营 1团队");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0待入账 1已入账");
+
+                entity.Property(e => e.TradeType)
+                    .HasColumnName("trade_type")
+                    .HasComment("交易类型 0直联    1银联");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserProfitZlb>(entity =>
+            {
+                entity.ToTable("kxs_user_profit_zlb");
+
+                entity.HasComment("用户分润表助力宝");
+
+                entity.HasIndex(e => new { e.ProfitMonth, e.Status, e.UserId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IsTeam)
+                    .HasColumnName("is_team")
+                    .HasComment("分润来源 0 直营 1团队");
+
+                entity.Property(e => e.ProfitAmt)
+                    .HasColumnName("profit_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("分润金额");
+
+                entity.Property(e => e.ProfitMonth)
+                    .HasColumnName("profit_month")
+                    .HasComment("分润月");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0待入账 1已入账");
+
+                entity.Property(e => e.TradeAmt)
+                    .HasColumnName("trade_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("交易额");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserReReal>(entity =>
+            {
+                entity.ToTable("kxs_user_re_real");
+
+                entity.HasComment("创客重新实名开放表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateBy)
+                    .HasColumnName("create_by")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("操作人")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserCode)
+                    .HasColumnName("user_code")
+                    .HasColumnType("varchar(12)")
+                    .HasComment("创客编号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("创客ID");
+
+                entity.Property(e => e.Username)
+                    .HasColumnName("username")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("创客姓名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserReal>(entity =>
+            {
+                entity.ToTable("kxs_user_real");
+
+                entity.HasComment("用户实名信息表");
+
+                entity.HasIndex(e => e.UserId)
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.IdCard)
+                    .HasColumnName("id_card")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("身份证号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IdCardFront)
+                    .HasColumnName("id_card_front")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("身份证人像正面")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IdCardHand)
+                    .HasColumnName("id_card_hand")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("手持身份证照片")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.IdCardRear)
+                    .HasColumnName("id_card_rear")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("身份证国徽背面")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.RealName)
+                    .HasColumnName("real_name")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("实名")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserRealLevel>(entity =>
+            {
+                entity.ToTable("kxs_user_real_level");
+
+                entity.HasComment("用户当前真实等级表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Level)
+                    .HasColumnName("level")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("当前等级")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Month)
+                    .HasColumnName("month")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("计算月份")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Pid)
+                    .HasColumnName("pid")
+                    .HasComment("上级id");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户id");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsUserWithdrawal>(entity =>
+            {
+                entity.ToTable("kxs_user_withdrawal");
+
+                entity.HasComment("用户提现申请表");
+
+                entity.HasIndex(e => e.ApplyStatus)
+                    .HasName("apply_status");
+
+                entity.HasIndex(e => e.CreateTime)
+                    .HasName("create_time");
+
+                entity.HasIndex(e => e.Status)
+                    .HasName("status");
+
+                entity.HasIndex(e => new { e.WithdrawalType, e.UserId })
+                    .HasName("query");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.ApplyAmount)
+                    .HasColumnName("apply_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("申请金额");
+
+                entity.Property(e => e.ApplyNo)
+                    .HasColumnName("apply_no")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("申请单号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ApplyStatus)
+                    .HasColumnName("apply_status")
+                    .HasComment("提交代付状态 0未提交 1已提交");
+
+                entity.Property(e => e.BankCode)
+                    .HasColumnName("bank_code")
+                    .HasColumnType("varchar(32)")
+                    .HasComment("银行卡号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BankName)
+                    .HasColumnName("bank_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("银行名称")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.BeforeAmt)
+                    .HasColumnName("before_amt")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("提现前余额");
+
+                entity.Property(e => e.ChannelName)
+                    .HasColumnName("channel_name")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("提现渠道")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.RealAmount)
+                    .HasColumnName("real_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("到账金额");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnName("remark")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("备注")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.Result)
+                    .HasColumnName("result")
+                    .HasColumnType("varchar(1000)")
+                    .HasComment("代付返回信息json")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ServiceAmount)
+                    .HasColumnName("service_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("手续费");
+
+                entity.Property(e => e.Status)
+                    .HasColumnName("status")
+                    .HasComment("状态 0处理中 1成功 2失败");
+
+                entity.Property(e => e.TaxAmount)
+                    .HasColumnName("tax_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("税费");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+
+                entity.Property(e => e.WithdrawalType)
+                    .HasColumnName("withdrawal_type")
+                    .HasComment("提现类型");
+            });
+
+            modelBuilder.Entity<KxsUserYuepay>(entity =>
+            {
+                entity.ToTable("kxs_user_yuepay");
+
+                entity.HasComment("余额支付交易账单表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasComment("删除标记,0未删除,1已删除");
+
+                entity.Property(e => e.OutTradeNo)
+                    .HasColumnName("out_trade_no")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("订单交易编号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.PassbackParams)
+                    .HasColumnName("passback_params")
+                    .HasColumnType("varchar(500)")
+                    .HasComment("公共参数 原路返回")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.RefundAmount)
+                    .HasColumnName("refund_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("退款金额");
+
+                entity.Property(e => e.Subject)
+                    .HasColumnName("subject")
+                    .HasColumnType("varchar(255)")
+                    .HasComment("订单标题")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.TradeAmount)
+                    .HasColumnName("trade_amount")
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("交易金额");
+
+                entity.Property(e => e.TradeNo)
+                    .HasColumnName("trade_no")
+                    .HasColumnType("varchar(64)")
+                    .HasComment("交易编号")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.TradeStatus)
+                    .HasColumnName("trade_status")
+                    .HasDefaultValueSql("'1'")
+                    .HasComment("交易状态");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<KxsWithdrawalConfig>(entity =>
+            {
+                entity.ToTable("kxs_withdrawal_config");
+
+                entity.HasComment("提现到账配置表");
+
+                entity.Property(e => e.Id)
+                    .HasColumnName("id")
+                    .HasComment("主键ID");
+
+                entity.Property(e => e.CreateTime)
+                    .HasColumnName("create_time")
+                    .HasColumnType("datetime")
+                    .HasComment("新增时间");
+
+                entity.Property(e => e.DelFlag)
+                    .HasColumnName("del_flag")
+                    .HasColumnType("varchar(1)")
+                    .HasDefaultValueSql("'0'")
+                    .HasComment("删除标记,0未删除,1已删除")
+                    .HasCharSet("utf8mb3")
+                    .HasCollation("utf8mb3_general_ci");
+
+                entity.Property(e => e.ToUserId)
+                    .HasColumnName("to_user_id")
+                    .HasComment("提现到账用户ID");
+
+                entity.Property(e => e.UpdateTime)
+                    .HasColumnName("update_time")
+                    .HasColumnType("datetime")
+                    .HasComment("更新时间");
+
+                entity.Property(e => e.UserId)
+                    .HasColumnName("user_id")
+                    .HasComment("提现用户ID");
+
+                entity.Property(e => e.Version)
+                    .HasColumnName("version")
+                    .HasComment("版本");
+            });
+
+            modelBuilder.Entity<UndoLog>(entity =>
+            {
+                entity.HasNoKey();
+
+                entity.ToTable("undo_log");
+
+                entity.HasComment("AT transaction mode undo table");
+
+                entity.HasIndex(e => e.LogCreated)
+                    .HasName("ix_log_created");
+
+                entity.HasIndex(e => new { e.Xid, e.BranchId })
+                    .HasName("ux_undo_log")
+                    .IsUnique();
+
+                entity.Property(e => e.BranchId)
+                    .HasColumnName("branch_id")
+                    .HasComment("branch transaction id");
+
+                entity.Property(e => e.Context)
+                    .IsRequired()
+                    .HasColumnName("context")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("undo_log context,such as serialization")
+                    .HasCharSet("utf8mb4")
+                    .HasCollation("utf8mb4_0900_ai_ci");
+
+                entity.Property(e => e.LogCreated)
+                    .HasColumnName("log_created")
+                    .HasComment("create datetime");
+
+                entity.Property(e => e.LogModified)
+                    .HasColumnName("log_modified")
+                    .HasComment("modify datetime");
+
+                entity.Property(e => e.LogStatus)
+                    .HasColumnName("log_status")
+                    .HasComment("0:normal status,1:defense status");
+
+                entity.Property(e => e.RollbackInfo)
+                    .IsRequired()
+                    .HasColumnName("rollback_info")
+                    .HasComment("rollback info");
+
+                entity.Property(e => e.Xid)
+                    .IsRequired()
+                    .HasColumnName("xid")
+                    .HasColumnType("varchar(128)")
+                    .HasComment("global transaction id")
+                    .HasCharSet("utf8mb4")
+                    .HasCollation("utf8mb4_0900_ai_ci");
+            });
+
+            OnModelCreatingPartial(modelBuilder);
+        }
+
+        partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
+    }
+}

+ 30 - 0
Util/HaoDa/ProfitBeforeHelper.cs

@@ -65,6 +65,7 @@ namespace MySystem
             function.WritePage("/ProfitFlag/", TradeMonth + "-before.txt", DateTime.Now.ToString());
             Models.KxsMain.WebCMSEntities kxsdb = new Models.KxsMain.WebCMSEntities();
             WebCMSEntities dbnew = new WebCMSEntities();
+            KxsUserModels.WebCMSEntities udb = new KxsUserModels.WebCMSEntities();
             DataTable dt = CustomerSqlConn.dtable("select IsAct,UserId,sum(TotalAmount),Sort from UserAmountSummaryBefore where TradeMonth='" + TradeMonth + "' and SeoTitle='self' group by IsAct,UserId,Sort", AppConfig.Base.SqlConnStr);
             foreach (DataRow dr in dt.Rows)
             {
@@ -160,6 +161,8 @@ namespace MySystem
                             editprofitrecord.TradeProfit += sub.Money;
                         }
                         dbnew.SaveChanges();
+
+                        AddJavaProfitRecord(udb, sub.UserId, sub.Money, TradeMonth, 1, "", ProfitType);
                     }
                     dbnew.SaveChanges();
                 }
@@ -170,6 +173,7 @@ namespace MySystem
             }
             dbnew.Dispose();
             kxsdb.Dispose();
+            udb.Dispose();
         }
 
         #endregion
@@ -339,5 +343,31 @@ namespace MySystem
                 function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "设置订单当前返现金额异常");
             }
         }
+
+
+
+        //奖励入库给java数据库
+        private void AddJavaProfitRecord(KxsUserModels.WebCMSEntities db, int UserId, decimal Prize, string TradeMonth, int RewardType, string Remark, int IsTeam)
+        {
+            int ProfitMonth = int.Parse(TradeMonth);
+            KxsUserModels.KxsUserProfitLkb item = db.KxsUserProfitLkb.FirstOrDefault(m => m.UserId == UserId && m.TradeType == RewardType && m.ProfitMonth == ProfitMonth);
+            if(item == null)
+            {
+                item = db.KxsUserProfitLkb.Add(new KxsUserModels.KxsUserProfitLkb()
+                {
+                    IsTeam = IsTeam,
+                    TradeType = RewardType,
+                    Remark = Remark,
+                    ProfitMonth = ProfitMonth,
+                    ProfitAmt = Prize,
+                    UserId = UserId,
+                    UpdateTime = DateTime.Now,
+                    CreateTime = DateTime.Now,
+                }).Entity;
+                db.SaveChanges();
+            }
+            item.ProfitAmt += Prize;
+            db.SaveChanges();
+        }
     }
 }

+ 1 - 0
appsettings.Development.json

@@ -15,6 +15,7 @@
     "SqlConnStr": "server=47.109.31.237;port=3306;user=QrCodePlateMainServer;password=ll4DFaALMu9YIooM;database=QrCodePlateMainServer2;charset=utf8;",
     "BsSqlConnStr": "server=47.109.31.237;port=3306;user=KxsBsServer;password=wyA1bEhi6aAkN8SB;database=KxsBsServer;charset=utf8;",
     "KxsSqlConnStr": "server=47.109.31.237;port=3306;user=KxsMainServer;password=FrW8ZfxlcaVdm1r0;database=KxsMainServer;charset=utf8;",
+    "KxsUserSqlConnStr": "server=47.109.61.191;port=3306;user=root;password=HDlNs1ZpG5iR9D9I;database=kxs_user;charset=utf8;",
     "RedisConnStr": "47.109.31.237:6379,password=klm@redis,DefaultDatabase=5,poolsize=500,preheat=50,asyncPipeline=true",
     "IOSAppVersion": "1.0.0",
     "AndroidAppVersion": "1.0.0",