|
@@ -42,6 +42,7 @@ namespace MySystem.Models.Main
|
|
public virtual DbSet<BusinessScope> BusinessScope { get; set; }
|
|
public virtual DbSet<BusinessScope> BusinessScope { get; set; }
|
|
public virtual DbSet<BusinessScopeType> BusinessScopeType { get; set; }
|
|
public virtual DbSet<BusinessScopeType> BusinessScopeType { get; set; }
|
|
public virtual DbSet<BusinessTradeSummary> BusinessTradeSummary { 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<Col> Col { get; set; }
|
|
public virtual DbSet<ConsumerOpenIds> ConsumerOpenIds { get; set; }
|
|
public virtual DbSet<ConsumerOpenIds> ConsumerOpenIds { get; set; }
|
|
public virtual DbSet<ConsumerOrderForNo> ConsumerOrderForNo { get; set; }
|
|
public virtual DbSet<ConsumerOrderForNo> ConsumerOrderForNo { get; set; }
|
|
@@ -92,6 +93,7 @@ namespace MySystem.Models.Main
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
|
|
public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
public virtual DbSet<MerchantAmountSummay> MerchantAmountSummay { get; set; }
|
|
public virtual DbSet<MerchantAuth> MerchantAuth { 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<MerchantClass> MerchantClass { get; set; }
|
|
public virtual DbSet<MerchantCol> MerchantCol { get; set; }
|
|
public virtual DbSet<MerchantCol> MerchantCol { get; set; }
|
|
public virtual DbSet<MerchantComment> MerchantComment { get; set; }
|
|
public virtual DbSet<MerchantComment> MerchantComment { get; set; }
|
|
@@ -2290,6 +2292,57 @@ namespace MySystem.Models.Main
|
|
entity.Property(e => e.VipFlag).HasColumnType("int(11)");
|
|
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 =>
|
|
modelBuilder.Entity<Col>(entity =>
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -5549,6 +5602,10 @@ namespace MySystem.Models.Main
|
|
.HasCharSet("utf8")
|
|
.HasCharSet("utf8")
|
|
.HasCollation("utf8_general_ci");
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
|
|
|
+ entity.Property(e => e.BrandId)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("品牌");
|
|
|
|
+
|
|
entity.Property(e => e.BusinessCode)
|
|
entity.Property(e => e.BusinessCode)
|
|
.HasColumnType("varchar(50)")
|
|
.HasColumnType("varchar(50)")
|
|
.HasCharSet("utf8")
|
|
.HasCharSet("utf8")
|
|
@@ -6353,6 +6410,155 @@ namespace MySystem.Models.Main
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
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 =>
|
|
modelBuilder.Entity<MerchantClass>(entity =>
|
|
{
|
|
{
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -6961,6 +7167,10 @@ namespace MySystem.Models.Main
|
|
|
|
|
|
entity.Property(e => e.BindStatus).HasColumnType("int(11)");
|
|
entity.Property(e => e.BindStatus).HasColumnType("int(11)");
|
|
|
|
|
|
|
|
+ entity.Property(e => e.BrandId)
|
|
|
|
+ .HasColumnType("int(11)")
|
|
|
|
+ .HasComment("品牌");
|
|
|
|
+
|
|
entity.Property(e => e.BriefIntroduction)
|
|
entity.Property(e => e.BriefIntroduction)
|
|
.HasColumnType("longtext")
|
|
.HasColumnType("longtext")
|
|
.HasComment("简介")
|
|
.HasComment("简介")
|