|
@@ -103,6 +103,7 @@ namespace MySystem.Models.Main
|
|
|
public virtual DbSet<MerchantInfo> MerchantInfo { get; set; }
|
|
|
public virtual DbSet<MerchantLoginInfo> MerchantLoginInfo { get; set; }
|
|
|
public virtual DbSet<MerchantParamSet> MerchantParamSet { get; set; }
|
|
|
+ public virtual DbSet<MerchantParamSetRecord> MerchantParamSetRecord { get; set; }
|
|
|
public virtual DbSet<MerchantQrCode> MerchantQrCode { get; set; }
|
|
|
public virtual DbSet<MerchantRebateDetail> MerchantRebateDetail { get; set; }
|
|
|
public virtual DbSet<MerchantTradeSummary> MerchantTradeSummary { get; set; }
|
|
@@ -2311,6 +2312,10 @@ namespace MySystem.Models.Main
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.SetRecordId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("活动记录Id");
|
|
|
+
|
|
|
entity.Property(e => e.SnNo)
|
|
|
.HasColumnType("varchar(50)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -2320,6 +2325,12 @@ namespace MySystem.Models.Main
|
|
|
|
|
|
entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.TradePayNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("支付交易号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.UpdateDate).HasColumnType("datetime");
|
|
|
|
|
|
entity.Property(e => e.UpdateMan)
|
|
@@ -5531,6 +5542,12 @@ namespace MySystem.Models.Main
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.MerchantType)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("商户类型")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.MiniProgramAppid)
|
|
|
.HasColumnType("varchar(50)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -6969,6 +6986,116 @@ namespace MySystem.Models.Main
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantParamSetRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("商户活动配置历史记录");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterDiviPercent)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改后最大分红比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterDiviPersons)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改后单笔订单分红人数");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterGetPercent)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改后商家实收比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterIsAll)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改后是否收全额");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterMinPayMoney)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改后订单参与门槛");
|
|
|
+
|
|
|
+ entity.Property(e => e.AfterProfitDays)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改后分红期限(天)");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeDiviPercent)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改前最大分红比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeDiviPersons)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改前单笔订单分红人数");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeGetPercent)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改前商家实收比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeIsAll)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改前是否收全额");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeMinPayMoney)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("修改前订单参与门槛");
|
|
|
+
|
|
|
+ entity.Property(e => e.BeforeProfitDays)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("修改前分红期限(天)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("创建人")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("商户Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.QueryCount)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("点击量");
|
|
|
+
|
|
|
+ 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)")
|
|
|
+ .HasComment("排序序号");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("更新时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("更新人")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<MerchantQrCode>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|