|
@@ -83,6 +83,7 @@ namespace MySystem.MainModels
|
|
|
public virtual DbSet<MenuRight> MenuRight { get; set; }
|
|
|
public virtual DbSet<MerchantAddInfo> MerchantAddInfo { get; set; }
|
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
|
+ public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
|
public virtual DbSet<MerchantAuth> MerchantAuth { get; set; }
|
|
|
public virtual DbSet<MerchantClass> MerchantClass { get; set; }
|
|
|
public virtual DbSet<MerchantCol> MerchantCol { get; set; }
|
|
@@ -216,10 +217,12 @@ namespace MySystem.MainModels
|
|
|
public virtual DbSet<ToChargeBackRecord> ToChargeBackRecord { get; set; }
|
|
|
public virtual DbSet<TradeDaySummary> TradeDaySummary { get; set; }
|
|
|
public virtual DbSet<TradeRecord> TradeRecord { get; set; }
|
|
|
+ public virtual DbSet<TradeRecordTest> TradeRecordTest { get; set; }
|
|
|
public virtual DbSet<UploadParams> UploadParams { get; set; }
|
|
|
public virtual DbSet<UserAccount> UserAccount { get; set; }
|
|
|
public virtual DbSet<UserAccountRecord> UserAccountRecord { get; set; }
|
|
|
public virtual DbSet<UserAddress> UserAddress { get; set; }
|
|
|
+ public virtual DbSet<UserAmountSummary> UserAmountSummary { get; set; }
|
|
|
public virtual DbSet<UserAuthRecord> UserAuthRecord { get; set; }
|
|
|
public virtual DbSet<UserBack> UserBack { get; set; }
|
|
|
public virtual DbSet<UserBackKind> UserBackKind { get; set; }
|
|
@@ -2159,6 +2162,8 @@ namespace MySystem.MainModels
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.UserId).HasColumnType("int(11)");
|
|
|
+
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
@@ -5396,6 +5401,54 @@ namespace MySystem.MainModels
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantAmountSummay>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.PayMode).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoDescription)
|
|
|
+ .HasColumnType("varchar(500)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoKeyword)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoTitle)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Sort).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TotalActual).HasColumnType("decimal(18,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeDate)
|
|
|
+ .HasColumnType("varchar(8)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeMonth)
|
|
|
+ .HasColumnType("varchar(6)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate).HasColumnType("datetime");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<MerchantAuth>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -8858,6 +8911,9 @@ namespace MySystem.MainModels
|
|
|
|
|
|
modelBuilder.Entity<PosMerchantInfoBak>(entity =>
|
|
|
{
|
|
|
+ entity.HasIndex(e => new { e.KqSnNo, e.KqMerNo })
|
|
|
+ .HasName("PosMerchantInfoBakIndex");
|
|
|
+
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
|
entity.Property(e => e.ActType).HasColumnType("int(11)");
|
|
@@ -8974,6 +9030,10 @@ namespace MySystem.MainModels
|
|
|
|
|
|
entity.Property(e => e.Sort).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.StandardMonths).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.StandardStatus).HasColumnType("int(11)");
|
|
|
+
|
|
|
entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
|
|
|
entity.Property(e => e.TopUserId).HasColumnType("int(11)");
|
|
@@ -14516,6 +14576,8 @@ namespace MySystem.MainModels
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.ActStatus).HasColumnType("int(11)");
|
|
|
+
|
|
|
entity.Property(e => e.BankCardType).HasColumnType("int(11)");
|
|
|
|
|
|
entity.Property(e => e.BrandId).HasColumnType("int(11)");
|
|
@@ -14622,6 +14684,107 @@ namespace MySystem.MainModels
|
|
|
entity.Property(e => e.VipFlag).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<TradeRecordTest>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.BankCardType).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.BrandId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CapFlag).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.ClearDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.DirectFlag)
|
|
|
+ .HasColumnType("bit(1)")
|
|
|
+ .HasDefaultValueSql("b'0'");
|
|
|
+
|
|
|
+ entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerBuddyType).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerHelpFlag)
|
|
|
+ .HasColumnType("bit(1)")
|
|
|
+ .HasDefaultValueSql("b'0'");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerNo)
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerUserId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.QrPayFlag).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.RecordNo)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Remark)
|
|
|
+ .HasColumnType("varchar(64)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoDescription)
|
|
|
+ .HasColumnType("varchar(500)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoKeyword)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoTitle)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SnNo)
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Sort).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TopUserId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeSerialNo)
|
|
|
+ .HasColumnType("varchar(48)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UserId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<UploadParams>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -14937,6 +15100,52 @@ namespace MySystem.MainModels
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<UserAmountSummary>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.PayMode).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoDescription)
|
|
|
+ .HasColumnType("varchar(500)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoKeyword)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SeoTitle)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Sort).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeDate)
|
|
|
+ .HasColumnType("varchar(8)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeMonth)
|
|
|
+ .HasColumnType("varchar(6)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate).HasColumnType("datetime");
|
|
|
+
|
|
|
+ entity.Property(e => e.UserId).HasColumnType("int(11)");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<UserAuthRecord>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|