|
@@ -24,6 +24,9 @@ namespace MySystem.MpMainModels2
|
|
|
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.MpMainModels2
|
|
|
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; }
|
|
@@ -54,6 +58,8 @@ namespace MySystem.MpMainModels2
|
|
|
public virtual DbSet<FluxProfitDetail> FluxProfitDetail { get; set; }
|
|
|
public virtual DbSet<FluxProfitSummary> FluxProfitSummary { get; set; }
|
|
|
public virtual DbSet<HaoDaAreaCode> HaoDaAreaCode { get; set; }
|
|
|
+ public virtual DbSet<HdRefundOrderNos> HdRefundOrderNos { get; set; }
|
|
|
+ public virtual DbSet<HdRefundRecord> HdRefundRecord { get; set; }
|
|
|
public virtual DbSet<HelpProfitAccountRecord> HelpProfitAccountRecord { get; set; }
|
|
|
public virtual DbSet<HelpProfitAmountSummary> HelpProfitAmountSummary { get; set; }
|
|
|
public virtual DbSet<HelpProfitExchange> HelpProfitExchange { get; set; }
|
|
@@ -89,6 +95,7 @@ namespace MySystem.MpMainModels2
|
|
|
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; }
|
|
@@ -126,6 +133,7 @@ namespace MySystem.MpMainModels2
|
|
|
public virtual DbSet<OpenSnSnapshot> OpenSnSnapshot { get; set; }
|
|
|
public virtual DbSet<OperateLog> OperateLog { get; set; }
|
|
|
public virtual DbSet<OperateRightList> OperateRightList { get; set; }
|
|
|
+ public virtual DbSet<OrderAdd> OrderAdd { get; set; }
|
|
|
public virtual DbSet<OrderForNo> OrderForNo { get; set; }
|
|
|
public virtual DbSet<OrderProduct> OrderProduct { get; set; }
|
|
|
public virtual DbSet<OrderRefund> OrderRefund { get; set; }
|
|
@@ -170,6 +178,7 @@ namespace MySystem.MpMainModels2
|
|
|
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 +934,193 @@ namespace MySystem.MpMainModels2
|
|
|
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 +2295,57 @@ namespace MySystem.MpMainModels2
|
|
|
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)");
|
|
@@ -2295,6 +2542,11 @@ namespace MySystem.MpMainModels2
|
|
|
|
|
|
entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.ReturnFlag)
|
|
|
+ .HasColumnType("bit(1)")
|
|
|
+ .HasDefaultValueSql("b'0'")
|
|
|
+ .HasComment("返现队列标记");
|
|
|
+
|
|
|
entity.Property(e => e.ReturnMoney).HasColumnType("decimal(18,2)");
|
|
|
|
|
|
entity.Property(e => e.SeoDescription)
|
|
@@ -2316,6 +2568,10 @@ namespace MySystem.MpMainModels2
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("活动记录Id");
|
|
|
|
|
|
+ entity.Property(e => e.SettleAmount)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("结算金额");
|
|
|
+
|
|
|
entity.Property(e => e.SnNo)
|
|
|
.HasColumnType("varchar(50)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -3131,6 +3387,60 @@ namespace MySystem.MpMainModels2
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<HdRefundOrderNos>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.HdOrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.HdSourceOrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
+ modelBuilder.Entity<HdRefundRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.HdOrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.HdOrderNo2)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.HdStatus)
|
|
|
+ .HasColumnType("varchar(20)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderId).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.PayMode)
|
|
|
+ .HasColumnType("varchar(20)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.RefundAmt).HasColumnType("decimal(18,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.RefundDate)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.RefundOrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<HelpProfitAccountRecord>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -5349,6 +5659,10 @@ namespace MySystem.MpMainModels2
|
|
|
.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")
|
|
@@ -5434,6 +5748,12 @@ namespace MySystem.MpMainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.CybMakerCode)
|
|
|
+ .HasColumnType("varchar(20)")
|
|
|
+ .HasComment("创业帮创客编号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.Extra1)
|
|
|
.HasColumnName("extra1")
|
|
|
.HasColumnType("varchar(2000)")
|
|
@@ -5670,6 +5990,10 @@ namespace MySystem.MpMainModels2
|
|
|
.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)")
|
|
@@ -6149,6 +6473,155 @@ namespace MySystem.MpMainModels2
|
|
|
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)");
|
|
@@ -6757,6 +7230,22 @@ namespace MySystem.MpMainModels2
|
|
|
|
|
|
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("简介")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.BusinessHours)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("营业时间段")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
entity.Property(e => e.CreateDate).HasColumnType("datetime");
|
|
|
|
|
|
entity.Property(e => e.CreateMan)
|
|
@@ -6764,6 +7253,16 @@ namespace MySystem.MpMainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.CybMakerCode)
|
|
|
+ .HasColumnType("varchar(20)")
|
|
|
+ .HasComment("创业帮创客编号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.EndTime)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("营业结束时间");
|
|
|
+
|
|
|
entity.Property(e => e.ExamineStatus)
|
|
|
.HasColumnType("int(11)")
|
|
|
.HasComment("服务费考核状态");
|
|
@@ -6780,6 +7279,10 @@ namespace MySystem.MpMainModels2
|
|
|
|
|
|
entity.Property(e => e.LastConsumeDate).HasColumnType("datetime");
|
|
|
|
|
|
+ entity.Property(e => e.Latitude)
|
|
|
+ .HasColumnType("decimal(18,8)")
|
|
|
+ .HasComment("纬度");
|
|
|
+
|
|
|
entity.Property(e => e.LoginPwd)
|
|
|
.HasColumnType("varchar(32)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -6790,6 +7293,10 @@ namespace MySystem.MpMainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.Longitude)
|
|
|
+ .HasColumnType("decimal(18,8)")
|
|
|
+ .HasComment("经度");
|
|
|
+
|
|
|
entity.Property(e => e.Mobile)
|
|
|
.HasColumnType("varchar(11)")
|
|
|
.HasCharSet("utf8")
|
|
@@ -6809,6 +7316,10 @@ namespace MySystem.MpMainModels2
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
+ entity.Property(e => e.Popularity)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("人气值");
|
|
|
+
|
|
|
entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
|
|
|
entity.Property(e => e.SeoDescription)
|
|
@@ -6832,6 +7343,10 @@ namespace MySystem.MpMainModels2
|
|
|
|
|
|
entity.Property(e => e.Sort).HasColumnType("int(11)");
|
|
|
|
|
|
+ entity.Property(e => e.StartTime)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("营业开始时间");
|
|
|
+
|
|
|
entity.Property(e => e.Status).HasColumnType("int(11)");
|
|
|
|
|
|
entity.Property(e => e.TotalActActual).HasColumnType("decimal(18,2)");
|
|
@@ -8800,6 +9315,65 @@ namespace MySystem.MpMainModels2
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<OrderAdd>(entity =>
|
|
|
+ {
|
|
|
+ entity.Property(e => e.Id)
|
|
|
+ .HasColumnName("id")
|
|
|
+ .HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Fd61)
|
|
|
+ .HasColumnName("fd61")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Merchantname)
|
|
|
+ .HasColumnName("merchantname")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Merchantno)
|
|
|
+ .HasColumnName("merchantno")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Money)
|
|
|
+ .HasColumnName("money")
|
|
|
+ .HasColumnType("decimal(10,2)");
|
|
|
+
|
|
|
+ entity.Property(e => e.Orderno)
|
|
|
+ .HasColumnName("orderno")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Reason)
|
|
|
+ .HasColumnName("reason")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnName("status")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Tradedate)
|
|
|
+ .HasColumnName("tradedate")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Tradetime)
|
|
|
+ .HasColumnName("tradetime")
|
|
|
+ .HasColumnType("varchar(255)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<OrderForNo>(entity =>
|
|
|
{
|
|
|
entity.HasKey(e => e.OrderNo)
|
|
@@ -11947,6 +12521,61 @@ namespace MySystem.MpMainModels2
|
|
|
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)");
|