|
@@ -30,6 +30,8 @@ namespace MySystem.Models
|
|
|
public virtual DbSet<AppVideoList> AppVideoList { get; set; }
|
|
public virtual DbSet<AppVideoList> AppVideoList { get; set; }
|
|
|
public virtual DbSet<BackEndOpRecord> BackEndOpRecord { get; set; }
|
|
public virtual DbSet<BackEndOpRecord> BackEndOpRecord { get; set; }
|
|
|
public virtual DbSet<BankInfo> BankInfo { get; set; }
|
|
public virtual DbSet<BankInfo> BankInfo { get; set; }
|
|
|
|
|
+ public virtual DbSet<BrokenMachineChange> BrokenMachineChange { get; set; }
|
|
|
|
|
+ public virtual DbSet<BrokenMachineChangeDetail> BrokenMachineChangeDetail { get; set; }
|
|
|
public virtual DbSet<BusinessActSummary> BusinessActSummary { get; set; }
|
|
public virtual DbSet<BusinessActSummary> BusinessActSummary { get; set; }
|
|
|
public virtual DbSet<BusinessPartner> BusinessPartner { get; set; }
|
|
public virtual DbSet<BusinessPartner> BusinessPartner { get; set; }
|
|
|
public virtual DbSet<BusinessPartnerMerchant> BusinessPartnerMerchant { get; set; }
|
|
public virtual DbSet<BusinessPartnerMerchant> BusinessPartnerMerchant { get; set; }
|
|
@@ -1318,6 +1320,231 @@ namespace MySystem.Models
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ modelBuilder.Entity<BrokenMachineChange>(entity =>
|
|
|
|
|
+ {
|
|
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.AuditBy)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.AuditRemark)
|
|
|
|
|
+ .HasColumnType("varchar(128)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.AuditResult).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.AuditTime).HasColumnType("datetime");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackProductName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackProductType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackStoreId).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackStoreName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackStoreUserId).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeDeviceName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeDeviceNum).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeNo)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeSnExpand)
|
|
|
|
|
+ .HasColumnType("mediumtext")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeTime).HasColumnType("datetime");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.CompleteTime).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.OrderExpand)
|
|
|
|
|
+ .HasColumnType("mediumtext")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutProductName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutProductType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreAddress)
|
|
|
|
|
+ .HasColumnType("varchar(128)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreAreas)
|
|
|
|
|
+ .HasColumnType("varchar(30)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreId).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreManager)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreManagerMobile)
|
|
|
|
|
+ .HasColumnType("varchar(11)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutStoreName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ 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.Sort).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ 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<BrokenMachineChangeDetail>(entity =>
|
|
|
|
|
+ {
|
|
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackDeviceStatus).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackProductName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackProductType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackSnNo)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.BackSnType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeId).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.ChangeNo)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ 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.OutProductName)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutProductType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutSnNo)
|
|
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
|
|
+ .HasCharSet("utf8")
|
|
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.OutSnType).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ 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.Sort).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
|
|
+
|
|
|
|
|
+ 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<BusinessActSummary>(entity =>
|
|
modelBuilder.Entity<BusinessActSummary>(entity =>
|
|
|
{
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|