|
@@ -175,6 +175,7 @@ namespace MySystem.Models
|
|
|
public virtual DbSet<ProfitReceiveRecord> ProfitReceiveRecord { get; set; }
|
|
|
public virtual DbSet<ProfitReceives> ProfitReceives { get; set; }
|
|
|
public virtual DbSet<ProfitRecord> ProfitRecord { get; set; }
|
|
|
+ public virtual DbSet<ProfitRecordForAgent> ProfitRecordForAgent { get; set; }
|
|
|
public virtual DbSet<ProfitRewardExport> ProfitRewardExport { get; set; }
|
|
|
public virtual DbSet<ProfitRewardRecord> ProfitRewardRecord { get; set; }
|
|
|
public virtual DbSet<ProfitSubsidyDetail> ProfitSubsidyDetail { get; set; }
|
|
@@ -948,8 +949,14 @@ namespace MySystem.Models
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.Operator)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("操作人")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.Percent)
|
|
|
- .HasColumnType("decimal(18,2)")
|
|
|
+ .HasColumnType("decimal(18,5)")
|
|
|
.HasComment("分润比例");
|
|
|
|
|
|
entity.Property(e => e.Sort)
|
|
@@ -960,6 +967,10 @@ namespace MySystem.Models
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("状态");
|
|
|
|
|
|
+ entity.Property(e => e.UnActPercent)
|
|
|
+ .HasColumnType("decimal(18,5)")
|
|
|
+ .HasComment("非活动分润比例");
|
|
|
+
|
|
|
entity.Property(e => e.UpdateDate)
|
|
|
.HasColumnType("datetime")
|
|
|
.HasComment("修改时间");
|
|
@@ -975,6 +986,10 @@ namespace MySystem.Models
|
|
|
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.ActFlag)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("交易类型");
|
|
|
+
|
|
|
entity.Property(e => e.CheckStatus)
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("验证和同步账户状态");
|
|
@@ -987,6 +1002,18 @@ namespace MySystem.Models
|
|
|
.HasColumnType("decimal(18,2)")
|
|
|
.HasComment("贷记卡交易总金额");
|
|
|
|
|
|
+ entity.Property(e => e.Operator)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("操作人")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("订单号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.ProfitType)
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("创客分润类型");
|
|
@@ -12257,6 +12284,61 @@ namespace MySystem.Models
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<ProfitRecordForAgent>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("区域代理分润记录");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.BrandId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("品牌");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.ProfitAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("分润金额");
|
|
|
+
|
|
|
+ entity.Property(e => e.Remark)
|
|
|
+ .HasColumnType("varchar(64)")
|
|
|
+ .HasComment("备注")
|
|
|
+ .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.TradeMonth)
|
|
|
+ .HasColumnType("varchar(6)")
|
|
|
+ .HasComment("月份")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.UserId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("创客");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<ProfitRewardExport>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -16796,6 +16878,12 @@ namespace MySystem.Models
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.Operator)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("操作人")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.Sort)
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("排序序号");
|