|
@@ -84,6 +84,7 @@ namespace MySystem.Models.Main
|
|
public virtual DbSet<MachineReturn> MachineReturn { get; set; }
|
|
public virtual DbSet<MachineReturn> MachineReturn { get; set; }
|
|
public virtual DbSet<MachineUnBind> MachineUnBind { get; set; }
|
|
public virtual DbSet<MachineUnBind> MachineUnBind { get; set; }
|
|
public virtual DbSet<MenuRight> MenuRight { get; set; }
|
|
public virtual DbSet<MenuRight> MenuRight { get; set; }
|
|
|
|
+ public virtual DbSet<MerchantAccountLinkInfo> MerchantAccountLinkInfo { get; set; }
|
|
public virtual DbSet<MerchantAddInfo> MerchantAddInfo { get; set; }
|
|
public virtual DbSet<MerchantAddInfo> MerchantAddInfo { get; set; }
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
@@ -98,9 +99,11 @@ namespace MySystem.Models.Main
|
|
public virtual DbSet<MerchantForMobile> MerchantForMobile { get; set; }
|
|
public virtual DbSet<MerchantForMobile> MerchantForMobile { get; set; }
|
|
public virtual DbSet<MerchantForName> MerchantForName { get; set; }
|
|
public virtual DbSet<MerchantForName> MerchantForName { get; set; }
|
|
public virtual DbSet<MerchantInfo> MerchantInfo { get; set; }
|
|
public virtual DbSet<MerchantInfo> MerchantInfo { get; set; }
|
|
|
|
+ public virtual DbSet<MerchantLoginInfo> MerchantLoginInfo { get; set; }
|
|
public virtual DbSet<MerchantParamSet> MerchantParamSet { get; set; }
|
|
public virtual DbSet<MerchantParamSet> MerchantParamSet { get; set; }
|
|
public virtual DbSet<MerchantQrCode> MerchantQrCode { get; set; }
|
|
public virtual DbSet<MerchantQrCode> MerchantQrCode { get; set; }
|
|
public virtual DbSet<MerchantRebateDetail> MerchantRebateDetail { get; set; }
|
|
public virtual DbSet<MerchantRebateDetail> MerchantRebateDetail { get; set; }
|
|
|
|
+ public virtual DbSet<MerchantTradeSummary> MerchantTradeSummary { get; set; }
|
|
public virtual DbSet<Merchants> Merchants { get; set; }
|
|
public virtual DbSet<Merchants> Merchants { get; set; }
|
|
public virtual DbSet<MobileCodeCheck> MobileCodeCheck { get; set; }
|
|
public virtual DbSet<MobileCodeCheck> MobileCodeCheck { get; set; }
|
|
public virtual DbSet<MsgAlert> MsgAlert { get; set; }
|
|
public virtual DbSet<MsgAlert> MsgAlert { get; set; }
|
|
@@ -5071,6 +5074,76 @@ namespace MySystem.Models.Main
|
|
.HasCollation("utf8_general_ci");
|
|
.HasCollation("utf8_general_ci");
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantAccountLinkInfo>(entity =>
|
|
|
|
+ {
|
|
|
|
+ entity.HasComment("帐号关联信息");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
+
|
|
|
|
+ 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.Kind)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("进件通道");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.LoginId)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("登录账户Id");
|
|
|
|
+
|
|
|
|
+ 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<MerchantAddInfo>(entity =>
|
|
modelBuilder.Entity<MerchantAddInfo>(entity =>
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -5235,7 +5308,7 @@ namespace MySystem.Models.Main
|
|
.HasCollation("utf8_general_ci");
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
entity.Property(e => e.BizStoreAddress)
|
|
entity.Property(e => e.BizStoreAddress)
|
|
- .HasColumnType("varchar(50)")
|
|
|
|
|
|
+ .HasColumnType("varchar(100)")
|
|
.HasCharSet("utf8")
|
|
.HasCharSet("utf8")
|
|
.HasCollation("utf8_general_ci");
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
@@ -6430,6 +6503,14 @@ namespace MySystem.Models.Main
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
|
|
|
+ entity.Property(e => e.ActCurrentAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("活动已返金额");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.ActMaxAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("活动应返金额");
|
|
|
|
+
|
|
entity.Property(e => e.ActStat)
|
|
entity.Property(e => e.ActStat)
|
|
.HasColumnType("int(11)")
|
|
.HasColumnType("int(11)")
|
|
.HasComment("激活统计标记");
|
|
.HasComment("激活统计标记");
|
|
@@ -6443,6 +6524,10 @@ namespace MySystem.Models.Main
|
|
.HasCharSet("utf8")
|
|
.HasCharSet("utf8")
|
|
.HasCollation("utf8_general_ci");
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
|
|
+ entity.Property(e => e.AllocationAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("未分配活动金额");
|
|
|
|
+
|
|
entity.Property(e => e.Areas)
|
|
entity.Property(e => e.Areas)
|
|
.HasColumnType("varchar(50)")
|
|
.HasColumnType("varchar(50)")
|
|
.HasCharSet("utf8")
|
|
.HasCharSet("utf8")
|
|
@@ -6545,6 +6630,76 @@ namespace MySystem.Models.Main
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantLoginInfo>(entity =>
|
|
|
|
+ {
|
|
|
|
+ entity.HasComment("商户登录信息");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
+
|
|
|
|
+ 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.LoginMobile)
|
|
|
|
+ .HasColumnType("varchar(11)")
|
|
|
|
+ .HasComment("登录手机")
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.LoginPwd)
|
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
|
+ .HasComment("登录密码")
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
+
|
|
|
|
+ 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<MerchantParamSet>(entity =>
|
|
modelBuilder.Entity<MerchantParamSet>(entity =>
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -6760,6 +6915,108 @@ namespace MySystem.Models.Main
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantTradeSummary>(entity =>
|
|
|
|
+ {
|
|
|
|
+ entity.HasComment("商户交易统计表");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.ActAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("活动交易额");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.AliPayInFactAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .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.InFactAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("实收金额");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.MerchantId)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("商户Id");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.NonActAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("非活动交易额");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.OderCount)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("订单数");
|
|
|
|
+
|
|
|
|
+ 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.TradeAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("交易金额");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.TradeDate)
|
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
|
+ .HasComment("交易日期")
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.TradeMonth)
|
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
|
+ .HasComment("交易月份")
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
+
|
|
|
|
+ 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("版本号");
|
|
|
|
+
|
|
|
|
+ entity.Property(e => e.WeChatInfactAmount)
|
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
|
+ .HasComment("微信实收金额");
|
|
|
|
+ });
|
|
|
|
+
|
|
modelBuilder.Entity<Merchants>(entity =>
|
|
modelBuilder.Entity<Merchants>(entity =>
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|