lichunlei 3 лет назад
Родитель
Сommit
ffe29cc3e6
5 измененных файлов с 194 добавлено и 0 удалено
  1. 25 0
      Models/BackEndOpRecord.cs
  2. 30 0
      Models/LeaderAccountRecord.cs
  3. 1 0
      Models/UserAccount.cs
  4. 1 0
      Models/Users.cs
  5. 137 0
      Models/WebCMSEntities.cs

+ 25 - 0
Models/BackEndOpRecord.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models
+{
+    public partial class BackEndOpRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string AfterData { get; set; }
+        public string BeforeData { get; set; }
+        public string TableEnName { get; set; }
+        public string TableChName { get; set; }
+        public string SysRealName { get; set; }
+        public string SysUserName { get; set; }
+    }
+}

+ 30 - 0
Models/LeaderAccountRecord.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models
+{
+    public partial class LeaderAccountRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string TransRecordNo { get; set; }
+        public string Remark { get; set; }
+        public decimal AfterBalanceAmount { get; set; }
+        public decimal BeforeBalanceAmount { get; set; }
+        public decimal AfterFreezeAmount { get; set; }
+        public decimal BeforeFreezeAmount { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public decimal ChangeAmount { get; set; }
+        public int ProductType { get; set; }
+        public int ChangeType { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 1 - 0
Models/UserAccount.cs

@@ -36,5 +36,6 @@ namespace MySystem.Models
         public decimal FixedAmount { get; set; }
         public decimal FixedAmount { get; set; }
         public decimal LeaderReserve { get; set; }
         public decimal LeaderReserve { get; set; }
         public decimal ValidAmount { get; set; }
         public decimal ValidAmount { get; set; }
+        public decimal LeaderBalanceAmount { get; set; }
     }
     }
 }
 }

+ 1 - 0
Models/Users.cs

@@ -85,5 +85,6 @@ namespace MySystem.Models
         public int LeaderLevel { get; set; }
         public int LeaderLevel { get; set; }
         public decimal ValidAmount { get; set; }
         public decimal ValidAmount { get; set; }
         public int BusinessFlag { get; set; }
         public int BusinessFlag { get; set; }
+        public string DeviceType { get; set; }
     }
     }
 }
 }

+ 137 - 0
Models/WebCMSEntities.cs

@@ -28,6 +28,7 @@ namespace MySystem.Models
         public virtual DbSet<AppVersion> AppVersion { get; set; }
         public virtual DbSet<AppVersion> AppVersion { get; set; }
         public virtual DbSet<AppVideo> AppVideo { get; set; }
         public virtual DbSet<AppVideo> AppVideo { get; set; }
         public virtual DbSet<AppVideoList> AppVideoList { get; set; }
         public virtual DbSet<AppVideoList> AppVideoList { 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<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; }
@@ -53,6 +54,7 @@ namespace MySystem.Models
         public virtual DbSet<KqProductOrgs> KqProductOrgs { get; set; }
         public virtual DbSet<KqProductOrgs> KqProductOrgs { get; set; }
         public virtual DbSet<KqProductRuleSet> KqProductRuleSet { get; set; }
         public virtual DbSet<KqProductRuleSet> KqProductRuleSet { get; set; }
         public virtual DbSet<KqProducts> KqProducts { get; set; }
         public virtual DbSet<KqProducts> KqProducts { get; set; }
+        public virtual DbSet<LeaderAccountRecord> LeaderAccountRecord { get; set; }
         public virtual DbSet<LeaderReserveRecord> LeaderReserveRecord { get; set; }
         public virtual DbSet<LeaderReserveRecord> LeaderReserveRecord { get; set; }
         public virtual DbSet<MachineApply> MachineApply { get; set; }
         public virtual DbSet<MachineApply> MachineApply { get; set; }
         public virtual DbSet<MachineApplyDetail> MachineApplyDetail { get; set; }
         public virtual DbSet<MachineApplyDetail> MachineApplyDetail { get; set; }
@@ -644,6 +646,9 @@ namespace MySystem.Models
 
 
             modelBuilder.Entity<ActivityRedPackageStock>(entity =>
             modelBuilder.Entity<ActivityRedPackageStock>(entity =>
             {
             {
+                entity.HasIndex(e => new { e.UserId, e.ActivityDate })
+                    .HasName("ActivityRedPackageStockIndex");
+
                 entity.Property(e => e.Id).HasColumnType("int(11)");
                 entity.Property(e => e.Id).HasColumnType("int(11)");
 
 
                 entity.Property(e => e.ActivityDate)
                 entity.Property(e => e.ActivityDate)
@@ -1145,6 +1150,71 @@ namespace MySystem.Models
                     .HasCollation("utf8_general_ci");
                     .HasCollation("utf8_general_ci");
             });
             });
 
 
+            modelBuilder.Entity<BackEndOpRecord>(entity =>
+            {
+                entity.Property(e => e.Id).HasColumnType("int(11)");
+
+                entity.Property(e => e.AfterData)
+                    .HasColumnType("mediumtext")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.BeforeData)
+                    .HasColumnType("mediumtext")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.CreateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.QueryCount).HasColumnType("int(11)");
+
+                entity.Property(e => e.Remark)
+                    .HasColumnType("varchar(200)")
+                    .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.SysRealName)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.SysUserName)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.TableChName)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.TableEnName)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+            });
+
             modelBuilder.Entity<BankInfo>(entity =>
             modelBuilder.Entity<BankInfo>(entity =>
             {
             {
                 entity.Property(e => e.Id).HasColumnType("int(11)");
                 entity.Property(e => e.Id).HasColumnType("int(11)");
@@ -2903,6 +2973,66 @@ namespace MySystem.Models
                 entity.Property(e => e.Version).HasColumnType("int(11)");
                 entity.Property(e => e.Version).HasColumnType("int(11)");
             });
             });
 
 
+            modelBuilder.Entity<LeaderAccountRecord>(entity =>
+            {
+                entity.Property(e => e.Id).HasColumnType("int(11)");
+
+                entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)");
+
+                entity.Property(e => e.ChangeType).HasColumnType("int(11)");
+
+                entity.Property(e => e.CreateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.ProductType).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.TransRecordNo)
+                    .HasColumnType("varchar(32)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UserId).HasColumnType("int(11)");
+            });
+
             modelBuilder.Entity<LeaderReserveRecord>(entity =>
             modelBuilder.Entity<LeaderReserveRecord>(entity =>
             {
             {
                 entity.Property(e => e.Id).HasColumnType("int(11)");
                 entity.Property(e => e.Id).HasColumnType("int(11)");
@@ -12351,6 +12481,8 @@ namespace MySystem.Models
 
 
                 entity.Property(e => e.FreezeAmount).HasColumnType("decimal(18,2)");
                 entity.Property(e => e.FreezeAmount).HasColumnType("decimal(18,2)");
 
 
+                entity.Property(e => e.LeaderBalanceAmount).HasColumnType("decimal(18,2)");
+
                 entity.Property(e => e.LeaderReserve).HasColumnType("decimal(18,2)");
                 entity.Property(e => e.LeaderReserve).HasColumnType("decimal(18,2)");
 
 
                 entity.Property(e => e.LockStatus).HasColumnType("int(11)");
                 entity.Property(e => e.LockStatus).HasColumnType("int(11)");
@@ -15029,6 +15161,11 @@ namespace MySystem.Models
                     .HasCharSet("utf8")
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");
                     .HasCollation("utf8_general_ci");
 
 
+                entity.Property(e => e.DeviceType)
+                    .HasColumnType("varchar(30)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.ExpiredDate).HasColumnType("datetime");
                 entity.Property(e => e.ExpiredDate).HasColumnType("datetime");
 
 
                 entity.Property(e => e.GroupId)
                 entity.Property(e => e.GroupId)