Browse Source

更新模型

lcl 5 months ago
parent
commit
cf47cedbcc
3 changed files with 183 additions and 3 deletions
  1. 21 0
      MpMainModels2/HdDepositTmp.cs
  2. 19 0
      MpMainModels2/HdOrderTmp.cs
  3. 143 3
      MpMainModels2/WebCMSEntities.cs

+ 21 - 0
MpMainModels2/HdDepositTmp.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.MpMainModels2
+{
+    public partial class HdDepositTmp
+    {
+        public string SnNo { get; set; }
+        public string MerKind { get; set; }
+        public string PassDate { get; set; }
+        public string MerName { get; set; }
+        public string SendMan { get; set; }
+        public string PrizeDate { get; set; }
+        public decimal PrizeAmount { get; set; }
+        public decimal DepositAmount { get; set; }
+        public string ActDate { get; set; }
+        public string DeviceKind { get; set; }
+        public string MerNo { get; set; }
+        public int Status { get; set; }
+    }
+}

+ 19 - 0
MpMainModels2/HdOrderTmp.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.MpMainModels2
+{
+    public partial class HdOrderTmp
+    {
+        public string OrderNo { get; set; }
+        public string SettleDuration { get; set; }
+        public string TradeTime { get; set; }
+        public decimal TradeFee { get; set; }
+        public decimal TradeAmount { get; set; }
+        public string TradeType { get; set; }
+        public string PayMode { get; set; }
+        public string DeviceKind { get; set; }
+        public string SnNo { get; set; }
+        public string MerNo { get; set; }
+    }
+}

+ 143 - 3
MpMainModels2/WebCMSEntities.cs

@@ -58,6 +58,8 @@ namespace MySystem.MpMainModels2
         public virtual DbSet<FluxProfitDetail> FluxProfitDetail { get; set; }
         public virtual DbSet<FluxProfitSummary> FluxProfitSummary { get; set; }
         public virtual DbSet<HaoDaAreaCode> HaoDaAreaCode { get; set; }
+        public virtual DbSet<HdDepositTmp> HdDepositTmp { get; set; }
+        public virtual DbSet<HdOrderTmp> HdOrderTmp { get; set; }
         public virtual DbSet<HdRefundOrderNos> HdRefundOrderNos { get; set; }
         public virtual DbSet<HdRefundRecord> HdRefundRecord { get; set; }
         public virtual DbSet<HelpProfitAccountRecord> HelpProfitAccountRecord { get; set; }
@@ -3390,6 +3392,144 @@ namespace MySystem.MpMainModels2
                     .HasCollation("utf8_general_ci");
             });
 
+            modelBuilder.Entity<HdDepositTmp>(entity =>
+            {
+                entity.HasKey(e => e.SnNo)
+                    .HasName("PRIMARY");
+
+                entity.HasComment("好哒押金临时表");
+
+                entity.Property(e => e.SnNo)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("设备SN")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.ActDate)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("激活时间")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.DepositAmount)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("押金金额");
+
+                entity.Property(e => e.DeviceKind)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("设备型号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.MerKind)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("商户类型")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.MerName)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("商户名称")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.MerNo)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("商户编号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.PassDate)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("审核通过日期")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.PrizeAmount)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("奖励金额");
+
+                entity.Property(e => e.PrizeDate)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("奖励发放时间")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.SendMan)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("发放人姓名")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Status)
+                    .HasColumnType("int(11)")
+                    .HasComment("状态");
+            });
+
+            modelBuilder.Entity<HdOrderTmp>(entity =>
+            {
+                entity.HasKey(e => e.OrderNo)
+                    .HasName("PRIMARY");
+
+                entity.HasComment("好哒订单临时表");
+
+                entity.Property(e => e.OrderNo)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("订单号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.DeviceKind)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("终端类型")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.MerNo)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("商户号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.PayMode)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("支付方式")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.SettleDuration)
+                    .HasColumnType("varchar(10)")
+                    .HasComment("结算周期")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.SnNo)
+                    .HasColumnType("varchar(50)")
+                    .HasComment("设备号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.TradeAmount)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("交易金额");
+
+                entity.Property(e => e.TradeFee)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("交易手续费");
+
+                entity.Property(e => e.TradeTime)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("交易时间")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.TradeType)
+                    .HasColumnType("varchar(20)")
+                    .HasComment("交易类型")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+            });
+
             modelBuilder.Entity<HdRefundOrderNos>(entity =>
             {
                 entity.Property(e => e.Id).HasColumnType("int(11)");
@@ -5628,7 +5768,7 @@ namespace MySystem.MpMainModels2
                     .HasCollation("utf8_general_ci");
 
                 entity.Property(e => e.BankAddressCode)
-                    .HasColumnType("varchar(20)")
+                    .HasColumnType("varchar(200)")
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");
 
@@ -5805,8 +5945,8 @@ namespace MySystem.MpMainModels2
 
                 entity.Property(e => e.IdCardAddress)
                     .HasColumnType("varchar(50)")
-                    .HasCharSet("utf8")
-                    .HasCollation("utf8_general_ci");
+                    .HasCharSet("utf8mb4")
+                    .HasCollation("utf8mb4_unicode_ci");
 
                 entity.Property(e => e.IdCardCopy)
                     .HasColumnType("varchar(200)")