|
@@ -71,6 +71,8 @@ namespace MySystem.PxcModels
|
|
|
public virtual DbSet<HelpProfitRewardDetail> HelpProfitRewardDetail { get; set; }
|
|
|
public virtual DbSet<HelpProfitUserTradeSummay> HelpProfitUserTradeSummay { get; set; }
|
|
|
public virtual DbSet<IndexIconList> IndexIconList { get; set; }
|
|
|
+ public virtual DbSet<JavaApiSet> JavaApiSet { get; set; }
|
|
|
+ public virtual DbSet<JavaApiSetFields> JavaApiSetFields { get; set; }
|
|
|
public virtual DbSet<KqProductBrand> KqProductBrand { get; set; }
|
|
|
public virtual DbSet<KqProductOrgs> KqProductOrgs { get; set; }
|
|
|
public virtual DbSet<KqProductRuleSet> KqProductRuleSet { get; set; }
|
|
@@ -128,6 +130,7 @@ namespace MySystem.PxcModels
|
|
|
public virtual DbSet<MsgSms> MsgSms { get; set; }
|
|
|
public virtual DbSet<MsgSmsSet> MsgSmsSet { get; set; }
|
|
|
public virtual DbSet<MsgTemplate> MsgTemplate { get; set; }
|
|
|
+ public virtual DbSet<NewLeaderData> NewLeaderData { get; set; }
|
|
|
public virtual DbSet<OpenBankCityTable> OpenBankCityTable { get; set; }
|
|
|
public virtual DbSet<OpenBankTable> OpenBankTable { get; set; }
|
|
|
public virtual DbSet<OpenReward> OpenReward { get; set; }
|
|
@@ -145,11 +148,13 @@ namespace MySystem.PxcModels
|
|
|
public virtual DbSet<PageUpdateInfo> PageUpdateInfo { get; set; }
|
|
|
public virtual DbSet<PosChannelSet> PosChannelSet { get; set; }
|
|
|
public virtual DbSet<PosChannelSetRecord> PosChannelSetRecord { get; set; }
|
|
|
+ public virtual DbSet<PosCouponExchangeRecord> PosCouponExchangeRecord { get; set; }
|
|
|
public virtual DbSet<PosCouponForUser> PosCouponForUser { get; set; }
|
|
|
public virtual DbSet<PosCouponOrders> PosCouponOrders { get; set; }
|
|
|
public virtual DbSet<PosCouponRecord> PosCouponRecord { get; set; }
|
|
|
public virtual DbSet<PosCoupons> PosCoupons { get; set; }
|
|
|
public virtual DbSet<PosFeeWarningRecord> PosFeeWarningRecord { get; set; }
|
|
|
+ public virtual DbSet<PosMachineOther> PosMachineOther { get; set; }
|
|
|
public virtual DbSet<PosMachines> PosMachines { get; set; }
|
|
|
public virtual DbSet<PosMachinesFeeChangeRecord> PosMachinesFeeChangeRecord { get; set; }
|
|
|
public virtual DbSet<PosMachinesTwo> PosMachinesTwo { get; set; }
|
|
@@ -256,6 +261,7 @@ namespace MySystem.PxcModels
|
|
|
public virtual DbSet<TradeDaySummary2Before> TradeDaySummary2Before { get; set; }
|
|
|
public virtual DbSet<TradeDaySummaryAfter> TradeDaySummaryAfter { get; set; }
|
|
|
public virtual DbSet<TradeDaySummaryBefore> TradeDaySummaryBefore { get; set; }
|
|
|
+ public virtual DbSet<TradeFilterRecord> TradeFilterRecord { get; set; }
|
|
|
public virtual DbSet<TradeRecord> TradeRecord { get; set; }
|
|
|
public virtual DbSet<TradeRecordTest> TradeRecordTest { get; set; }
|
|
|
public virtual DbSet<UpUserRelation> UpUserRelation { get; set; }
|
|
@@ -311,6 +317,7 @@ namespace MySystem.PxcModels
|
|
|
public virtual DbSet<UserYearEndInCome> UserYearEndInCome { get; set; }
|
|
|
public virtual DbSet<UserYearEndSummary> UserYearEndSummary { get; set; }
|
|
|
public virtual DbSet<Users> Users { get; set; }
|
|
|
+ public virtual DbSet<WifiTradeRecord> WifiTradeRecord { get; set; }
|
|
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
|
{
|
|
@@ -4212,6 +4219,72 @@ namespace MySystem.PxcModels
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<JavaApiSet>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("java接口对接");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.ApiName)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("接口名称")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SourceApiUrl)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("来源地址")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.ToApiHost)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("接收主机头")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.ToApiUrl)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("接收地址")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
+ modelBuilder.Entity<JavaApiSetFields>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("java接口对接字段配置");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.ApiId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("父Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.SourceFieldName)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("来源字段名")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SourceFieldTitle)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("来源字段说明")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.TargetFieldName)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("对应字段名")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.TargetFieldType)
|
|
|
+ .HasColumnType("varchar(20)")
|
|
|
+ .HasComment("对应字段类型")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<KqProductBrand>(entity =>
|
|
|
{
|
|
|
entity.HasComment("产品品牌");
|
|
@@ -8731,6 +8804,26 @@ namespace MySystem.PxcModels
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<NewLeaderData>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasKey(e => e.UserId)
|
|
|
+ .HasName("PRIMARY");
|
|
|
+
|
|
|
+ entity.HasComment("新盟主体系数据");
|
|
|
+
|
|
|
+ entity.Property(e => e.UserId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("创客Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.BalanceAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("盟主可提现余额");
|
|
|
+
|
|
|
+ entity.Property(e => e.ReserveAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("盟主储蓄金");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<OpenBankCityTable>(entity =>
|
|
|
{
|
|
|
entity.HasKey(e => e.CityName)
|
|
@@ -10027,6 +10120,90 @@ namespace MySystem.PxcModels
|
|
|
.HasComment("修改时间");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<PosCouponExchangeRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("电签券兑换记录");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Note)
|
|
|
+ .HasColumnType("varchar(200)")
|
|
|
+ .HasComment("备注")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.QueryCount).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ 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)")
|
|
|
+ .HasComment("排序序号");
|
|
|
+
|
|
|
+ entity.Property(e => e.SourceCount)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("来源券数量");
|
|
|
+
|
|
|
+ entity.Property(e => e.SourceCoupons)
|
|
|
+ .HasColumnType("mediumtext")
|
|
|
+ .HasComment("来源券")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.ToCount)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("兑换券数量");
|
|
|
+
|
|
|
+ entity.Property(e => e.ToCoupons)
|
|
|
+ .HasColumnType("mediumtext")
|
|
|
+ .HasComment("兑换券")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateMan)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.UserId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("创客");
|
|
|
+
|
|
|
+ entity.Property(e => e.Version)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("版本号");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<PosCouponForUser>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -10312,6 +10489,37 @@ namespace MySystem.PxcModels
|
|
|
.HasComment("版本号");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<PosMachineOther>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("机具扩展表");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("机具Id");
|
|
|
+
|
|
|
+ entity.Property(e => e.CustomerNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("客户号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.LeMerNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("乐刷商编")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.LeMerNo4)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("四方商编")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.LeMerchantId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("商户Id");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<PosMachines>(entity =>
|
|
|
{
|
|
|
entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
@@ -10739,7 +10947,7 @@ namespace MySystem.PxcModels
|
|
|
entity.Property(e => e.MatchTime).HasColumnType("datetime");
|
|
|
|
|
|
entity.Property(e => e.MerIdcardNo)
|
|
|
- .HasColumnType("varchar(30)")
|
|
|
+ .HasColumnType("varchar(18)")
|
|
|
.HasCharSet("utf8")
|
|
|
.HasCollation("utf8_general_ci");
|
|
|
|
|
@@ -18106,6 +18314,47 @@ namespace MySystem.PxcModels
|
|
|
entity.Property(e => e.VipFlag).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<TradeFilterRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("训练营拦截记录");
|
|
|
+
|
|
|
+ entity.Property(e => e.Id).HasColumnType("int(11)");
|
|
|
+
|
|
|
+ entity.Property(e => e.CreateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("创建时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.IntercetpAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("拦截金额");
|
|
|
+
|
|
|
+ entity.Property(e => e.Kind)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("类别");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("下单时间");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("订单");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderNo)
|
|
|
+ .HasColumnType("varchar(50)")
|
|
|
+ .HasComment("订单号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.OrderUserId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("下单人");
|
|
|
+
|
|
|
+ entity.Property(e => e.PrizeUserId)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("拦截奖励人");
|
|
|
+ });
|
|
|
+
|
|
|
modelBuilder.Entity<TradeRecord>(entity =>
|
|
|
{
|
|
|
entity.HasIndex(e => new { e.BrandId, e.UserId, e.MerchantId, e.MerNo, e.SnNo, e.CreateDate })
|
|
@@ -22029,6 +22278,45 @@ namespace MySystem.PxcModels
|
|
|
entity.Property(e => e.Version).HasColumnType("int(11)");
|
|
|
});
|
|
|
|
|
|
+ modelBuilder.Entity<WifiTradeRecord>(entity =>
|
|
|
+ {
|
|
|
+ entity.HasComment("WIFI交易记录");
|
|
|
+
|
|
|
+ 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.Remark)
|
|
|
+ .HasColumnType("varchar(64)")
|
|
|
+ .HasComment("备注")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.SnNo)
|
|
|
+ .HasColumnType("varchar(32)")
|
|
|
+ .HasComment("渠道SN号")
|
|
|
+ .HasCharSet("utf8")
|
|
|
+ .HasCollation("utf8_general_ci");
|
|
|
+
|
|
|
+ entity.Property(e => e.Status)
|
|
|
+ .HasColumnType("int(11)")
|
|
|
+ .HasComment("状态");
|
|
|
+
|
|
|
+ entity.Property(e => e.TradeAmount)
|
|
|
+ .HasColumnType("decimal(18,2)")
|
|
|
+ .HasComment("交易金额");
|
|
|
+
|
|
|
+ entity.Property(e => e.UpdateDate)
|
|
|
+ .HasColumnType("datetime")
|
|
|
+ .HasComment("修改时间");
|
|
|
+ });
|
|
|
+
|
|
|
OnModelCreatingPartial(modelBuilder);
|
|
|
}
|
|
|
|