|
@@ -36,6 +36,8 @@ namespace MySystem.Models.Main
|
|
|
public virtual DbSet<BusinessPartner> BusinessPartner { get; set; }
|
|
|
public virtual DbSet<BusinessPartnerMerchant> BusinessPartnerMerchant { get; set; }
|
|
|
public virtual DbSet<BusinessPartnerPos> BusinessPartnerPos { get; set; }
|
|
|
+ public virtual DbSet<BusinessScope> BusinessScope { get; set; }
|
|
|
+ public virtual DbSet<BusinessScopeType> BusinessScopeType { get; set; }
|
|
|
public virtual DbSet<BusinessTradeSummary> BusinessTradeSummary { get; set; }
|
|
|
public virtual DbSet<Col> Col { get; set; }
|
|
|
public virtual DbSet<ConsumerOpenIds> ConsumerOpenIds { get; set; }
|
|
@@ -1811,6 +1813,138 @@ namespace MySystem.Models.Main
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<BusinessScope>(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.KindId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("所属分类");
|
|
|
+
|
|
|
+ entity.Property(e => e.Name)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .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<BusinessScopeType>(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.KindName)
|
|
|
+ .HasColumnType("varchar(100)")
|
|
|
+ .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<BusinessTradeSummary>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|