|
@@ -24,6 +24,9 @@ namespace MySystem.MainModels2
|
|
|
public virtual DbSet<ActivityRedPackageTop10> ActivityRedPackageTop10 { get; set; }
|
|
|
public virtual DbSet<Advertisment> Advertisment { get; set; }
|
|
|
public virtual DbSet<AgentLevelSet> AgentLevelSet { get; set; }
|
|
|
+ public virtual DbSet<AgentLevels> AgentLevels { get; set; }
|
|
|
+ public virtual DbSet<AgentProfitRecord> AgentProfitRecord { get; set; }
|
|
|
+ public virtual DbSet<AgentTradeStatSummary> AgentTradeStatSummary { get; set; }
|
|
|
public virtual DbSet<AppBottomNavs> AppBottomNavs { get; set; }
|
|
|
public virtual DbSet<AppVersion> AppVersion { get; set; }
|
|
|
public virtual DbSet<AppVideo> AppVideo { get; set; }
|
|
@@ -39,6 +42,7 @@ namespace MySystem.MainModels2
|
|
|
public virtual DbSet<BusinessScope> BusinessScope { get; set; }
|
|
|
public virtual DbSet<BusinessScopeType> BusinessScopeType { get; set; }
|
|
|
public virtual DbSet<BusinessTradeSummary> BusinessTradeSummary { get; set; }
|
|
|
+ public virtual DbSet<ChangeSettlementCardAuditRecord> ChangeSettlementCardAuditRecord { get; set; }
|
|
|
public virtual DbSet<Col> Col { get; set; }
|
|
|
public virtual DbSet<ConsumerOpenIds> ConsumerOpenIds { get; set; }
|
|
|
public virtual DbSet<ConsumerOrderForNo> ConsumerOrderForNo { get; set; }
|
|
@@ -89,6 +93,7 @@ namespace MySystem.MainModels2
|
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
|
public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
|
public virtual DbSet<MerchantAuth> MerchantAuth { get; set; }
|
|
|
+ public virtual DbSet<MerchantChangeSettlementCardRecord> MerchantChangeSettlementCardRecord { get; set; }
|
|
|
public virtual DbSet<MerchantClass> MerchantClass { get; set; }
|
|
|
public virtual DbSet<MerchantCol> MerchantCol { get; set; }
|
|
|
public virtual DbSet<MerchantComment> MerchantComment { get; set; }
|
|
@@ -170,6 +175,7 @@ namespace MySystem.MainModels2
|
|
|
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; }
|
|
@@ -925,6 +931,193 @@ namespace MySystem.MainModels2
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<AgentLevels>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("区域代理等级");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.Name)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("名称")
|
|
|
+ .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,5)")
|
|
|
+ .HasComment("分润比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.Sort)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("排序序号");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.UnActPercent)
|
|
|
+ .HasColumnType("decimal(18,5)")
|
|
|
+ .HasComment("非活动分润比例");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+ });
|
|
|
+
|
|
|
+ modelBuilder.Entity<AgentProfitRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("区域代理等级");
|
|
|
+
|
|
|
+ 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("验证和同步账户状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreditTradeAmt)
|
|
|
+ .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("创客分润类型");
|
|
|
+
|
|
|
+ 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.TradeMonth)
|
|
|
+ .HasColumnType("varchar(6)")
|
|
|
+ .HasComment("交易月")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeProfit)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("交易分润");
|
|
|
+
|
|
|
+ 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<AgentTradeStatSummary>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("创客区域代理");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.IsAct)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("是否活动");
|
|
|
+
|
|
|
+ entity.Property(e => e.ManageAreas)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("管辖区域")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.PayMode)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("支付方式");
|
|
|
+
|
|
|
+ entity.Property(e => e.Sort)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("排序序号");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.TotalAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("订单总额");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeCount)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("交易笔数");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeDate)
|
|
|
+ .HasColumnType("varchar(8)")
|
|
|
+ .HasComment("交易日")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ 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<AppBottomNavs>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -2099,6 +2292,57 @@ namespace MySystem.MainModels2
|
|
|
entity.Property(e => e.VipFlag).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<ChangeSettlementCardAuditRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("商户修改结算卡审核表");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.AuditStatus)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("审核状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.MchtNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("收款商户号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("申请商户Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.Remark)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .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.TaskId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("申请任务Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<Col>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -5358,6 +5602,10 @@ namespace MySystem.MainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.BrandId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("品牌");
|
|
|
+
|
|
|
entity.Property(e => e.BusinessCode)
|
|
|
.HasColumnType("varchar(50)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -5679,6 +5927,10 @@ namespace MySystem.MainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.PlaceType)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("场所类型");
|
|
|
+
|
|
|
entity.Property(e => e.ProductImg)
|
|
|
.HasColumnName("productImg")
|
|
|
.HasColumnType("varchar(200)")
|
|
@@ -6158,6 +6410,155 @@ namespace MySystem.MainModels2
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<MerchantChangeSettlementCardRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("商户修改结算卡记录表");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.AccountName)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("开户名")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AccountNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("卡号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AccountType)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("账户类型");
|
|
|
+
|
|
|
+ entity.Property(e => e.AcctZbankCode)
|
|
|
+ .HasColumnName("AcctZBankCode")
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("开户支行地区码")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AgentCardEndDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("非法人身份证有效结束时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.AgentCardStartDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("非法人身份证有效开始时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.AgentIdCardBack)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("被委托人身份证国徽面")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AgentIdCardFront)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("被委托人身份证人像面")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AgentProtocol)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("委托结算授权书")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.AlterType)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("结算类型");
|
|
|
+
|
|
|
+ entity.Property(e => e.BankCard)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("银行卡正面照片")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.HoldAgentProtocol)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("法人手持委托结算授权书")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.IdCard)
|
|
|
+ .HasColumnType("varchar(18)")
|
|
|
+ .HasComment("非法人身份证号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.MchtNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("商户号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("商户Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.MerchantName)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("商户名称")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.OpenAccountLicenses)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("开户许可证")
|
|
|
+ .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.PriLicAgreement)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("企业法人对私授权书")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Remark)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .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.TaskId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("任务Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+
|
|
|
+ entity.Property(e => e.ZbankNo)
|
|
|
+ .HasColumnName("ZBankNo")
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("支行号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<MerchantClass>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -6766,6 +7167,10 @@ namespace MySystem.MainModels2
|
|
|
|
|
|
entity.Property(e => e.BindStatus).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.BrandId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("品牌");
|
|
|
+
|
|
|
entity.Property(e => e.BriefIntroduction)
|
|
|
.HasColumnType("longtext")
|
|
|
.HasComment("简介")
|
|
@@ -11988,6 +12393,61 @@ namespace MySystem.MainModels2
|
|
|
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)");
|