using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace MySystem.MainModels2 { public partial class WebCMSEntities : DbContext { public WebCMSEntities() { } public WebCMSEntities(DbContextOptions options) : base(options) { } public virtual DbSet ActiveReward { get; set; } public virtual DbSet ActivityEnrolRecord { get; set; } public virtual DbSet ActivityInfo { get; set; } public virtual DbSet ActivityPrizeDetail { get; set; } public virtual DbSet ActivityRedPackageJoins { get; set; } public virtual DbSet ActivityRedPackageStock { get; set; } public virtual DbSet ActivityRedPackageTop10 { get; set; } public virtual DbSet Advertisment { get; set; } public virtual DbSet AgentLevelSet { get; set; } public virtual DbSet AgentLevels { get; set; } public virtual DbSet AgentProfitRecord { get; set; } public virtual DbSet AgentTradeStatSummary { get; set; } public virtual DbSet AppBottomNavs { get; set; } public virtual DbSet AppVersion { get; set; } public virtual DbSet AppVideo { get; set; } public virtual DbSet AppVideoList { get; set; } public virtual DbSet BackEndOpRecord { get; set; } public virtual DbSet BankInfo { get; set; } public virtual DbSet BrokenMachineChange { get; set; } public virtual DbSet BrokenMachineChangeDetail { get; set; } public virtual DbSet BusinessActSummary { get; set; } public virtual DbSet BusinessPartner { get; set; } public virtual DbSet BusinessPartnerMerchant { get; set; } public virtual DbSet BusinessPartnerPos { get; set; } public virtual DbSet BusinessScope { get; set; } public virtual DbSet BusinessScopeType { get; set; } public virtual DbSet BusinessTradeSummary { get; set; } public virtual DbSet ChangeSettlementCardAuditRecord { get; set; } public virtual DbSet Col { get; set; } public virtual DbSet ConsumerOpenIds { get; set; } public virtual DbSet ConsumerOrderForNo { get; set; } public virtual DbSet ConsumerOrders { get; set; } public virtual DbSet ConsumerProfit { get; set; } public virtual DbSet Consumers { get; set; } public virtual DbSet CouponAssignRecords { get; set; } public virtual DbSet Coupons { get; set; } public virtual DbSet CouponsForUser { get; set; } public virtual DbSet CustomTagSet { get; set; } public virtual DbSet ErpCompanys { get; set; } public virtual DbSet FileUpdateInfo { get; set; } public virtual DbSet FluxProfitDetail { get; set; } public virtual DbSet FluxProfitSummary { get; set; } public virtual DbSet HaoDaAreaCode { get; set; } public virtual DbSet HelpProfitAccountRecord { get; set; } public virtual DbSet HelpProfitAmountSummary { get; set; } public virtual DbSet HelpProfitExchange { get; set; } public virtual DbSet HelpProfitExchangeDetail { get; set; } public virtual DbSet HelpProfitMerIds { get; set; } public virtual DbSet HelpProfitMerTradeMonthSummay { get; set; } public virtual DbSet HelpProfitMerTradeSummay { get; set; } public virtual DbSet HelpProfitMerchantForUser { get; set; } public virtual DbSet HelpProfitRebateDetail { get; set; } public virtual DbSet HelpProfitReward { get; set; } public virtual DbSet HelpProfitRewardDetail { get; set; } public virtual DbSet IndexIconList { get; set; } public virtual DbSet KqProductBrand { get; set; } public virtual DbSet KqProductOrgs { get; set; } public virtual DbSet KqProductRuleSet { get; set; } public virtual DbSet KqProducts { get; set; } public virtual DbSet LeaderAccountRecord { get; set; } public virtual DbSet LeaderReserveRecord { get; set; } public virtual DbSet Leaders { get; set; } public virtual DbSet MachineApply { get; set; } public virtual DbSet MachineApplyDetail { get; set; } public virtual DbSet MachineChange { get; set; } public virtual DbSet MachineChangeDetail { get; set; } public virtual DbSet MachineForMerNo { get; set; } public virtual DbSet MachineForQrCode { get; set; } public virtual DbSet MachineForSnNo { get; set; } public virtual DbSet MachineRenew { get; set; } public virtual DbSet MachineReturn { get; set; } public virtual DbSet MachineUnBind { get; set; } public virtual DbSet MenuRight { get; set; } public virtual DbSet MerchantAccountLinkInfo { get; set; } public virtual DbSet MerchantAddInfo { get; set; } public virtual DbSet MerchantAdmin { get; set; } public virtual DbSet MerchantAmountSummay { get; set; } public virtual DbSet MerchantAuth { get; set; } public virtual DbSet MerchantChangeSettlementCardRecord { get; set; } public virtual DbSet MerchantClass { get; set; } public virtual DbSet MerchantCol { get; set; } public virtual DbSet MerchantComment { get; set; } public virtual DbSet MerchantDepositBack { get; set; } public virtual DbSet MerchantDepositOrder { get; set; } public virtual DbSet MerchantDepositReturns { get; set; } public virtual DbSet MerchantDepositSet { get; set; } public virtual DbSet MerchantDiviSummay { get; set; } public virtual DbSet MerchantForCode { get; set; } public virtual DbSet MerchantForMobile { get; set; } public virtual DbSet MerchantForName { get; set; } public virtual DbSet MerchantInfo { get; set; } public virtual DbSet MerchantLoginInfo { get; set; } public virtual DbSet MerchantParamSet { get; set; } public virtual DbSet MerchantParamSetRecord { get; set; } public virtual DbSet MerchantQrCode { get; set; } public virtual DbSet MerchantRebateDetail { get; set; } public virtual DbSet MerchantTradeSummary { get; set; } public virtual DbSet Merchants { get; set; } public virtual DbSet MobileCodeCheck { get; set; } public virtual DbSet MsgAlert { get; set; } public virtual DbSet MsgBlackList { get; set; } public virtual DbSet MsgPersonal { get; set; } public virtual DbSet MsgPlacard { get; set; } public virtual DbSet MsgPlacardRead { get; set; } public virtual DbSet MsgPush { get; set; } public virtual DbSet MsgSms { get; set; } public virtual DbSet MsgSmsSet { get; set; } public virtual DbSet MsgTemplate { get; set; } public virtual DbSet OpenBankAll { get; set; } public virtual DbSet OpenBankCityTable { get; set; } public virtual DbSet OpenBankTable { get; set; } public virtual DbSet OpenReward { get; set; } public virtual DbSet OpenRewardDetail { get; set; } public virtual DbSet OpenSnSnapshot { get; set; } public virtual DbSet OperateLog { get; set; } public virtual DbSet OperateRightList { get; set; } public virtual DbSet OrderForNo { get; set; } public virtual DbSet OrderProduct { get; set; } public virtual DbSet OrderRefund { get; set; } public virtual DbSet OrderRefundReason { get; set; } public virtual DbSet Orders { get; set; } public virtual DbSet PageInfo { get; set; } public virtual DbSet PageUpdateInfo { get; set; } public virtual DbSet PosCouponForUser { get; set; } public virtual DbSet PosCouponOrders { get; set; } public virtual DbSet PosCouponRecord { get; set; } public virtual DbSet PosCoupons { get; set; } public virtual DbSet PosMachines { get; set; } public virtual DbSet PosMachinesFeeChangeRecord { get; set; } public virtual DbSet PosMachinesTwo { get; set; } public virtual DbSet PosMerchantInfo { get; set; } public virtual DbSet PosMerchantInfoBak { get; set; } public virtual DbSet PosMerchantOtherInfo { get; set; } public virtual DbSet PosMerchantTradeSummay { get; set; } public virtual DbSet PreAmountRecord { get; set; } public virtual DbSet PreSendStockDetail { get; set; } public virtual DbSet ProductComment { get; set; } public virtual DbSet ProductCommentAgree { get; set; } public virtual DbSet ProductFareAreas { get; set; } public virtual DbSet ProductFareTemp { get; set; } public virtual DbSet ProductKeys { get; set; } public virtual DbSet ProductNorm { get; set; } public virtual DbSet ProductNormItem { get; set; } public virtual DbSet ProductNormTemp { get; set; } public virtual DbSet Products { get; set; } public virtual DbSet ProfitObjectActivations { get; set; } public virtual DbSet ProfitObjectContinueFloors { get; set; } public virtual DbSet ProfitObjectFloors { get; set; } public virtual DbSet ProfitObjectLevelKinds { get; set; } public virtual DbSet ProfitObjectLevels { get; set; } public virtual DbSet ProfitObjects { get; set; } public virtual DbSet ProfitObjectsActiveCheck { get; set; } public virtual DbSet ProfitObjectsActiveParams { get; set; } public virtual DbSet ProfitObjectsActives { get; set; } public virtual DbSet ProfitObjectsActivesForId { get; set; } public virtual DbSet ProfitObjectsRule { get; set; } public virtual DbSet ProfitObjectsRuleDetails { get; set; } public virtual DbSet ProfitReceiveRecord { get; set; } public virtual DbSet ProfitReceives { get; set; } public virtual DbSet ProfitRecord { get; set; } public virtual DbSet ProfitRecordForAgent { get; set; } public virtual DbSet ProfitRewardExport { get; set; } public virtual DbSet ProfitRewardRecord { get; set; } public virtual DbSet ProfitSubsidyDetail { get; set; } public virtual DbSet ProfitSubsidyExport { get; set; } public virtual DbSet PublicAccountSet { get; set; } public virtual DbSet PullNewAct { get; set; } public virtual DbSet PullNewDetail { get; set; } public virtual DbSet PullnewSummary { get; set; } public virtual DbSet QrCodeAmountSummay { get; set; } public virtual DbSet RecommendDirectUser { get; set; } public virtual DbSet RecommendTradeSummary { get; set; } public virtual DbSet RecycMachineOrder { get; set; } public virtual DbSet RecycMachineOrderPos { get; set; } public virtual DbSet RightDic { get; set; } public virtual DbSet SchoolMakerStudy { get; set; } public virtual DbSet SchoolMaterials { get; set; } public virtual DbSet SchoolMorningMeet { get; set; } public virtual DbSet SchoolMorningMeetLog { get; set; } public virtual DbSet SchoolSignInData { get; set; } public virtual DbSet SchoolSignInRecord { get; set; } public virtual DbSet SchoolSignInTask { get; set; } public virtual DbSet SchoolSignInTaskRecord { get; set; } public virtual DbSet ServiceCenter { get; set; } public virtual DbSet SetMerchantTypeRecord { get; set; } public virtual DbSet SmallStoreHouse { get; set; } public virtual DbSet SmallStoreQuotaRecord { get; set; } public virtual DbSet SpOrderNos { get; set; } public virtual DbSet StoreBalance { get; set; } public virtual DbSet StoreChangeHistory { get; set; } public virtual DbSet StoreForCode { get; set; } public virtual DbSet StoreForName { get; set; } public virtual DbSet StoreHouse { get; set; } public virtual DbSet StoreHouseAmountPromiss { get; set; } public virtual DbSet StoreHouseAmountRecord { get; set; } public virtual DbSet StoreMachineApply { get; set; } public virtual DbSet StoreMallOrderSummary { get; set; } public virtual DbSet StoreSnActivateSummary { get; set; } public virtual DbSet StoreStockChange { get; set; } public virtual DbSet StoreSwapSn { get; set; } public virtual DbSet SubsidyCheck { get; set; } public virtual DbSet SubsidyRecord { get; set; } public virtual DbSet SysAdmin { get; set; } public virtual DbSet SysAdminRole { get; set; } public virtual DbSet SysLog { get; set; } public virtual DbSet SysRechargeRecord { get; set; } public virtual DbSet SystemSet { get; set; } public virtual DbSet TeamApply { get; set; } public virtual DbSet TeamApplyForTeamName { get; set; } public virtual DbSet TeamApplyForTeamNo { get; set; } public virtual DbSet TeamBlackList { get; set; } public virtual DbSet TeamConfig { get; set; } public virtual DbSet TeamDayTop { get; set; } public virtual DbSet TeamOfferApply { get; set; } public virtual DbSet TeamPersonDayTop { get; set; } public virtual DbSet TmpCert { get; set; } public virtual DbSet TmpTradeNo { get; set; } public virtual DbSet ToChargeBackRecord { get; set; } public virtual DbSet TradeDaySummary { get; set; } public virtual DbSet TradeRecord { get; set; } public virtual DbSet TradeRecordTest { get; set; } public virtual DbSet UploadParams { get; set; } public virtual DbSet UserAccount { get; set; } public virtual DbSet UserAccountRecord { get; set; } public virtual DbSet UserAddress { get; set; } public virtual DbSet UserAmountSummary { get; set; } public virtual DbSet UserAuthRecord { get; set; } public virtual DbSet UserBack { get; set; } public virtual DbSet UserBackKind { get; set; } public virtual DbSet UserBalanceTop { get; set; } public virtual DbSet UserCar { get; set; } public virtual DbSet UserCardForWeChat { get; set; } public virtual DbSet UserCardRecord { get; set; } public virtual DbSet UserCashRecord { get; set; } public virtual DbSet UserCenterIconList { get; set; } public virtual DbSet UserCollection { get; set; } public virtual DbSet UserData { get; set; } public virtual DbSet UserDetail { get; set; } public virtual DbSet UserFamilyMember { get; set; } public virtual DbSet UserForMakerCode { get; set; } public virtual DbSet UserForMobile { get; set; } public virtual DbSet UserForRealName { get; set; } public virtual DbSet UserFriend { get; set; } public virtual DbSet UserGroup { get; set; } public virtual DbSet UserLevelSet { get; set; } public virtual DbSet UserLoginRecord { get; set; } public virtual DbSet UserMachineData { get; set; } public virtual DbSet UserMallLargeSn { get; set; } public virtual DbSet UserOfflineSignInRecords { get; set; } public virtual DbSet UserProfit { get; set; } public virtual DbSet UserProfitSet { get; set; } public virtual DbSet UserProfitSubsidySummary { get; set; } public virtual DbSet UserRank { get; set; } public virtual DbSet UserRankWhite { get; set; } public virtual DbSet UserRebateDetail { get; set; } public virtual DbSet UserSnActInfo { get; set; } public virtual DbSet UserSnDelayChange { get; set; } public virtual DbSet UserStoreChange { get; set; } public virtual DbSet UserSwapDetail { get; set; } public virtual DbSet UserSwapSummary { get; set; } public virtual DbSet UserSwapWhite { get; set; } public virtual DbSet UserTradeDaySummary { get; set; } public virtual DbSet UserTradeMonthSummary { get; set; } public virtual DbSet Users { get; set; } public virtual DbSet UsersTmp { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { if (!optionsBuilder.IsConfigured) { optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["SqlConnStr2"].ToString(), x => x.ServerVersion("5.7.17-mysql")); } } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity(entity => { entity.HasIndex(e => e.KqSnNo) .HasName("ActiveRewardIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActDate).HasColumnType("datetime"); entity.Property(e => e.ActType).HasColumnType("int(11)"); entity.Property(e => e.ActTypeDesc) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.City) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectBuddyNo).HasColumnType("int(11)"); entity.Property(e => e.DivideAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.KqMerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerUserId).HasColumnType("int(11)"); entity.Property(e => e.MerUserNav) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentParentUserId).HasColumnType("int(11)"); entity.Property(e => e.ParentUserId).HasColumnType("int(11)"); entity.Property(e => e.Province) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.RewardRef).HasColumnType("int(11)"); entity.Property(e => e.RewardSourceUserId).HasColumnType("int(11)"); entity.Property(e => e.RewardTips) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RuleRewardAmount).HasColumnType("decimal(18,2)"); 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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserNav) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndTime) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectStartTime) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnrolMonth) .HasColumnType("varchar(80)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActBanner) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActContent) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActName) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActReferUrl) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActType).HasColumnType("int(11)"); entity.Property(e => e.BrandId) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.EnrolEndDate).HasColumnType("datetime"); entity.Property(e => e.EnrolEndTime) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnrolStartDate).HasColumnType("datetime"); entity.Property(e => e.EnrolStartTime) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsTop).HasColumnType("int(11)"); entity.Property(e => e.LimitTopBuddy) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActRewardAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ActivityId).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.OtherProdCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.ActivityDate }) .HasName("ActivityRedPackageJoinsIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivityDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PrizeAmt).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => e.ActivityDate) .HasName("ActivityRedPackageStockIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivityDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PrizeAmt).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Kind).HasColumnType("int(11)"); entity.Property(e => e.PrizeAmt).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TimeNum).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PicPath) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AreasProfitPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LevelDiff) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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(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(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(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BgColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NoPageHint) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormalIcon) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormalTextColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PagPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PageName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ScrollerAnimationImages) .HasColumnType("varchar(300)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SelectIcon) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SelectTextColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Style) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CancelText) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ConfirmText) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DownloadUrl) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Info) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TerminalKind) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VersionNum) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BannerPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BgPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VideoId).HasColumnType("int(11)"); entity.Property(e => e.VideoUrl) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterData) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BeforeData) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SysRealName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SysUserName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TableChName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TableEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BankCode) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankName) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankNameAbbr) .HasColumnType("varchar(60)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UnitedBankName) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UnitedBankNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AuditBy) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditRemark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditResult).HasColumnType("int(11)"); entity.Property(e => e.AuditTime).HasColumnType("datetime"); entity.Property(e => e.BackProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackProductType).HasColumnType("int(11)"); entity.Property(e => e.BackStoreId).HasColumnType("int(11)"); entity.Property(e => e.BackStoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackStoreUserId).HasColumnType("int(11)"); entity.Property(e => e.ChangeDeviceName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeDeviceNum).HasColumnType("int(11)"); entity.Property(e => e.ChangeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeSnExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeTime).HasColumnType("datetime"); entity.Property(e => e.CompleteTime).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductType).HasColumnType("int(11)"); entity.Property(e => e.OutStoreAddress) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreAreas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreId).HasColumnType("int(11)"); entity.Property(e => e.OutStoreManager) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreManagerMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BackDeviceStatus).HasColumnType("int(11)"); entity.Property(e => e.BackProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackProductType).HasColumnType("int(11)"); entity.Property(e => e.BackSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackSnType).HasColumnType("int(11)"); entity.Property(e => e.ChangeId).HasColumnType("int(11)"); entity.Property(e => e.ChangeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductType).HasColumnType("int(11)"); entity.Property(e => e.OutSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutSnType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActCount).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PartnerId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LoginPassword) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobile) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(30)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ThisMonthTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.PartnerId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PartnerId).HasColumnType("int(11)"); entity.Property(e => e.PosId).HasColumnType("int(11)"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KindId) .HasColumnType("int(11)") .HasComment("所属分类"); entity.Property(e => e.Name) .HasColumnType("varchar(100)") .HasComment("经营范围名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KindName) .HasColumnType("varchar(100)") .HasComment("分类名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NotHelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.NotHelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.NotHelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.PartnerId).HasColumnType("int(11)"); entity.Property(e => e.PayType).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VipFlag).HasColumnType("int(11)"); }); modelBuilder.Entity(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(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ClassName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColDetail) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColEnNav) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColPicPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DetailTemp) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DetailTempM) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListPageCount).HasColumnType("int(11)"); entity.Property(e => e.ListTemp) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListTempM) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Recommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.OpenId) .HasName("PRIMARY"); entity.Property(e => e.OpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ConsumerId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.OrderNo) .HasName("PRIMARY"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderIds).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.OrderNo, e.SnNo, e.MerchantId, e.PayMode, e.CreateDate }) .HasName("ConsumerOrdersIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ConsumerId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CurDivi).HasColumnType("decimal(18,2)"); entity.Property(e => e.DivideDate) .HasColumnType("datetime") .HasComment("提交分账时间"); entity.Property(e => e.DivideFlag) .HasColumnType("int(11)") .HasComment("分账标记"); entity.Property(e => e.DivideLog) .HasColumnType("mediumtext") .HasComment("分账结果日志") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsAct) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MaxDivi).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantActualAmount) .HasColumnType("decimal(18,2)") .HasComment("商家实收"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); entity.Property(e => e.PayMoney).HasColumnType("decimal(18,2)"); 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) .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.SetRecordId) .HasColumnType("int(11)") .HasComment("活动记录Id"); entity.Property(e => e.SettleAmount) .HasColumnType("int(11)") .HasComment("结算金额"); entity.Property(e => e.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradePayNo) .HasColumnType("varchar(50)") .HasComment("支付交易号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.MerchantId, e.OrderId, e.CreateDate }) .HasName("ConsumerProfitIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ConsumerId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.GetMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AlipayFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.AlipayUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CurIntgegral).HasColumnType("int(11)"); entity.Property(e => e.HeadPhoto) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LastConsumDate).HasColumnType("datetime"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NickName) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalConsumCount).HasColumnType("int(11)"); entity.Property(e => e.TotalDividend).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalIntegral).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WeChatPayFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.WechatOpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WechatUnionid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Areas) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CouponIds) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CurMoneyMax).HasColumnType("decimal(18,2)"); entity.Property(e => e.CurMoneyMin).HasColumnType("decimal(18,2)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TotalOrderMoneyMax).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalOrderMoneyMin).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalUseIntegralMax).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalUseIntegralMin).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserGroupId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserMaxLevel).HasColumnType("int(11)"); entity.Property(e => e.UserMinLevel).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AndPromotion) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpireEndDate).HasColumnType("datetime"); entity.Property(e => e.ExpireStartDate).HasColumnType("datetime"); entity.Property(e => e.Explanation) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FullReduceData).HasColumnType("decimal(18,2)"); entity.Property(e => e.FullReduceMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.IsNewUser) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsPublic) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsReUse) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsRepeat) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsSuperpose) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Kind).HasColumnType("int(11)"); entity.Property(e => e.MerchantId) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductColId) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductId) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PublicEndDate).HasColumnType("datetime"); entity.Property(e => e.PublicMax).HasColumnType("int(11)"); entity.Property(e => e.PublicMaxByDay).HasColumnType("int(11)"); entity.Property(e => e.PublicStartDate).HasColumnType("datetime"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RepeatCondition) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RepeatType).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Stock).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UseEndDate).HasColumnType("datetime"); entity.Property(e => e.UseStartDate).HasColumnType("datetime"); entity.Property(e => e.UserMaxLevel).HasColumnType("int(11)"); entity.Property(e => e.UserMinLevel).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CouponId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsLock) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsUse) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UseDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Tags) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Phone) .HasColumnType("varchar(30)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FileName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Path) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VersionNum).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.SnNo, e.MerNo }) .HasName("FluxProfitDetailIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FluxEndDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FluxFeeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxOrderNo) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FluxProfitAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxStartDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerUserType).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MerchantUserId).HasColumnType("int(11)"); entity.Property(e => e.PosType) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeOrderNo) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeTime) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FluxProfitAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxTradeNum).HasColumnType("int(11)"); entity.Property(e => e.MerUserType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.CityName) .HasName("PRIMARY"); entity.HasComment("好哒地区编码"); entity.Property(e => e.CityName) .HasColumnType("varchar(50)") .HasComment("城市名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CityCode) .HasColumnType("varchar(20)") .HasComment("城市区域编码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TransRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeMonth }) .HasName("HelpProfitAmountSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MaxAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerCount).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExchangeCount).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExchangeCode) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosCouponId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordId).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.MerchantId) .HasName("PRIMARY"); entity.HasIndex(e => e.UserId) .HasName("HelpProfitMerIdsIndex"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.MerchantId, e.TradeMonth }) .HasName("HelpProfitMerTradeMonthSummayIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.MerchantId, e.TradeMonth, e.TradeDate }) .HasName("HelpProfitMerTradeSummayIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.MerchantId, e.Sort }) .HasName("HelpProfitMerchantForUserIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardMerCount).HasColumnType("int(11)"); entity.Property(e => e.RewardType).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OpenDetailRec) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardTips) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardType).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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Icon) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActDeposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ActEndDate).HasColumnType("datetime"); entity.Property(e => e.ActFirst).HasColumnType("decimal(18,2)"); entity.Property(e => e.ActFirstDeposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ActPosCount).HasColumnType("int(11)"); entity.Property(e => e.ActPrize).HasColumnType("decimal(18,2)"); entity.Property(e => e.ActStartDate).HasColumnType("datetime"); entity.Property(e => e.ActiveCount).HasColumnType("int(11)"); entity.Property(e => e.ActivePrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.BigExtendCycleDays).HasColumnType("int(11)"); entity.Property(e => e.BigTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CycleEndDate).HasColumnType("datetime"); entity.Property(e => e.CycleIsOther) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.CyclePosDays).HasColumnType("int(11)"); entity.Property(e => e.CycleStartDate).HasColumnType("datetime"); entity.Property(e => e.Deposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.FeeBindDays).HasColumnType("int(11)"); entity.Property(e => e.FeeFixed).HasColumnType("decimal(18,2)"); entity.Property(e => e.FeeOfDays).HasColumnType("datetime"); entity.Property(e => e.FeeRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.FlowCardDirectProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.FlowCardEndDate).HasColumnType("datetime"); entity.Property(e => e.FlowCardFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.FlowCardFreeDays).HasColumnType("int(11)"); entity.Property(e => e.FlowCardStartDate).HasColumnType("datetime"); entity.Property(e => e.HelpEndDate).HasColumnType("datetime"); entity.Property(e => e.HelpFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpMonths).HasColumnType("int(11)"); entity.Property(e => e.HelpStartDate).HasColumnType("datetime"); entity.Property(e => e.HelpSteadyFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerStaEndDate).HasColumnType("datetime"); entity.Property(e => e.MerStaMonths).HasColumnType("int(11)"); entity.Property(e => e.MerStaProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerStaStartDate).HasColumnType("datetime"); entity.Property(e => e.MerStaTradeForMonth).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenEndDate).HasColumnType("datetime"); entity.Property(e => e.OpenStaDays).HasColumnType("int(11)"); entity.Property(e => e.OpenStaPrize).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenStaPrize2).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenStaTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenStartDate).HasColumnType("datetime"); entity.Property(e => e.OrgId).HasColumnType("int(11)"); entity.Property(e => e.PullNewEndDate).HasColumnType("datetime"); entity.Property(e => e.PullNewExtendDays).HasColumnType("int(11)"); entity.Property(e => e.PullNewStartDate).HasColumnType("datetime"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubsidyEndDate).HasColumnType("datetime"); entity.Property(e => e.SubsidyStartDate).HasColumnType("datetime"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TransRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.SourceUserId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.LeaderLevel).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyDeviceName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyDeviceNum).HasColumnType("int(11)"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyTime).HasColumnType("datetime"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditBy) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditRemark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditResult).HasColumnType("int(11)"); entity.Property(e => e.AuditTime).HasColumnType("datetime"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CompleteTime).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeliveryType).HasColumnType("int(11)"); entity.Property(e => e.ExpressName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpressNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OperateId).HasColumnType("int(11)"); entity.Property(e => e.OrderExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnOrderNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnStatus).HasColumnType("int(11)"); entity.Property(e => e.SendDate).HasColumnType("datetime"); entity.Property(e => e.SendSn) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendStatus).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreAddress) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreAreas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.StoreManager) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreManagerMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreType).HasColumnType("int(11)"); entity.Property(e => e.StoreUserId).HasColumnType("int(11)"); entity.Property(e => e.SwapActProName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SwapActProType).HasColumnType("int(11)"); entity.Property(e => e.SwapSnExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyId).HasColumnType("int(11)"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceDesc) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceModel) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceStatus).HasColumnType("int(11)"); entity.Property(e => e.DeviceVendor) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.SourceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SourceSnType).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpSrcProName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpSrcProType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AuditBy) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditRemark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditResult).HasColumnType("int(11)"); entity.Property(e => e.AuditTime).HasColumnType("datetime"); entity.Property(e => e.BackProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackProductType).HasColumnType("int(11)"); entity.Property(e => e.BackStoreId).HasColumnType("int(11)"); entity.Property(e => e.BackStoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackStoreUserId).HasColumnType("int(11)"); entity.Property(e => e.ChangeDeviceName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeDeviceNum).HasColumnType("int(11)"); entity.Property(e => e.ChangeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeSnExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeTime).HasColumnType("datetime"); entity.Property(e => e.CompleteTime).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderExpand) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductType).HasColumnType("int(11)"); entity.Property(e => e.OutStoreAddress) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreAreas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreId).HasColumnType("int(11)"); entity.Property(e => e.OutStoreManager) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreManagerMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutStoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BackDeviceStatus).HasColumnType("int(11)"); entity.Property(e => e.BackProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackProductType).HasColumnType("int(11)"); entity.Property(e => e.BackSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BackSnType).HasColumnType("int(11)"); entity.Property(e => e.ChangeId).HasColumnType("int(11)"); entity.Property(e => e.ChangeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutProductType).HasColumnType("int(11)"); entity.Property(e => e.OutSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutSnType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.MerNo) .HasName("PRIMARY"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.DataId) .HasName("PRIMARY"); entity.Property(e => e.DataId) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BindDate).HasColumnType("datetime"); entity.Property(e => e.MachineSnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.SnNo) .HasName("PRIMARY"); entity.Property(e => e.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditDate).HasColumnType("datetime"); entity.Property(e => e.AuditDesc) .HasColumnType("varchar(256)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditStatus) .HasColumnName("audit_status") .HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DamagedBrandId).HasColumnType("int(11)"); entity.Property(e => e.DamagedSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DamagedSnType).HasColumnType("int(11)"); entity.Property(e => e.DeliverBrandId).HasColumnType("int(11)"); entity.Property(e => e.DeliverSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DemandDesc) .HasColumnType("varchar(256)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReplaceBrandId).HasColumnType("int(11)"); entity.Property(e => e.ReplaceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReplaceSnType).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceDesc) .HasColumnType("varchar(256)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceNum).HasColumnType("int(11)"); entity.Property(e => e.DeviceSnNos) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Operator) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ToStoreId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditDate).HasColumnType("datetime"); entity.Property(e => e.AuditDesc) .HasColumnType("varchar(256)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.MenuId) .HasName("PRIMARY"); entity.Property(e => e.MenuId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Kind) .HasColumnType("int(11)") .HasComment("进件通道"); entity.Property(e => e.LoginId) .HasColumnType("int(11)") .HasComment("登录账户Id"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商户Id"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AccountBank) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AccountName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AccountNumber) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AccountType) .HasColumnType("varchar(10)") .HasComment("账户类型") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActivitiesId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActivitiesRate) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentCardIdPicture) .HasColumnName("agentCardIdPicture") .HasColumnType("varchar(200)") .HasComment("被委托人手持身份证") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentIdCardBack) .HasColumnName("agentIdCardBack") .HasColumnType("varchar(200)") .HasComment("被委托人身份证反面") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentIdCardFront) .HasColumnName("agentIdCardFront") .HasColumnType("varchar(200)") .HasComment("被委托人身份证正面") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentProtocol) .HasColumnName("agentProtocol") .HasColumnType("varchar(200)") .HasComment("委托结算协议") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Agreement) .HasColumnName("agreement") .HasColumnType("varchar(200)") .HasComment("合同签名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliMerchantId) .HasColumnType("varchar(100)") .HasComment("支付宝商户号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayAuthToken) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayPid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayRemark) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipaySignUrl) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppPics) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppSubAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplymentId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplymentState) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AreaNo) .HasColumnType("varchar(20)") .HasComment("经营地区区域码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditDetail) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankAccountType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankAddressCode) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankBranchId) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankCard) .HasColumnType("varchar(200)") .HasComment("收款人银行卡照片") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizAddressCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizStoreAddress) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizStoreName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizSubAppid) .HasColumnType("varchar(32)") .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") .HasCollation("utf8_general_ci"); entity.Property(e => e.BusinessId) .HasColumnType("varchar(20)") .HasComment("经营范围") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardPeriodBegin).HasColumnType("datetime"); entity.Property(e => e.CardPeriodEnd).HasColumnType("datetime"); entity.Property(e => e.CertCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertLegalPerson) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertMerchantName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertNumber) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertificateLetterCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelKind) .HasColumnType("varchar(10)") .HasComment("商户类型") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CheckstandImg) .HasColumnName("checkstandImg") .HasColumnType("varchar(200)") .HasComment("收银台") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CompanyAddress) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ContactEmail) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ContactIdNumber) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ContactName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Extra1) .HasColumnName("extra1") .HasColumnType("varchar(2000)") .HasComment("补充资料") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FaceRecognition) .HasColumnName("faceRecognition") .HasColumnType("varchar(200)") .HasComment("正面人像图片") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HdBindWeChat) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("好哒绑定微信状态"); entity.Property(e => e.HdPassDate) .HasColumnType("datetime") .HasComment("好哒审核通过时间"); entity.Property(e => e.HdStatus) .HasColumnType("int(11)") .HasComment("好哒进件状态"); entity.Property(e => e.HoldAgentProtocol) .HasColumnName("holdAgentProtocol") .HasColumnType("varchar(200)") .HasComment("法人手持委托结算协议") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardAddress) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardName) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNational) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNumber) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdDocType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IndoorPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IndustryLicense1) .HasColumnName("industryLicense1") .HasColumnType("varchar(2000)") .HasComment("行业许可证") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LegalPerson) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LicenceType) .HasColumnType("varchar(10)") .HasComment("营业执照类型") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LicenseCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LicenseNumber) .HasColumnType("varchar(32)") .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.MerchantShortname) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantType) .HasColumnType("varchar(50)") .HasComment("商户类型") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MiniProgramAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MiniProgramPics) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MiniProgramSubAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MobilePhone) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MpAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MpPics) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MpSubAppid) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenAccountLicenses) .HasColumnName("openAccountLicenses") .HasColumnType("varchar(200)") .HasComment("开户许可证") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenAct) .HasColumnType("int(11)") .HasComment("是否开通分账"); entity.Property(e => e.OpenBankAccName) .HasColumnType("varchar(50)") .HasComment("开户许可证-开户名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenBankAccout) .HasColumnType("varchar(50)") .HasComment("开户许可证-银行卡号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenBankRegionCode) .HasColumnType("varchar(20)") .HasComment("开户许可证-银行地区码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenCollectBankCode) .HasColumnType("varchar(50)") .HasComment("开户许可证-银行代码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenUnionNo) .HasColumnType("varchar(50)") .HasComment("开户许可证-开户支行") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OperatorMcht) .HasColumnName("operatorMcht") .HasColumnType("varchar(200)") .HasComment("盒伙人商户合影") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrgPeriodBegin).HasColumnType("datetime"); entity.Property(e => e.OrgPeriodEnd).HasColumnType("datetime"); entity.Property(e => e.OrganizationCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrganizationCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutMchtNo) .HasColumnType("varchar(100)") .HasComment("慧掌柜商户号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Owner) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.PeriodBegin).HasColumnType("datetime"); entity.Property(e => e.PeriodEnd).HasColumnType("datetime"); entity.Property(e => e.PersonWithIdCard) .HasColumnType("varchar(200)") .HasComment("法人手持身份证正面") .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)") .HasComment("商品照片") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QualificationType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Qualifications) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RentAgreement) .HasColumnName("rentAgreement") .HasColumnType("varchar(200)") .HasComment("租赁协议") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ResserveMobile) .HasColumnType("varchar(11)") .HasComment("银行预留手机号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SalesScenesType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.ServicePhone) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettlementId) .HasColumnType("varchar(3)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ShopFrontImg) .HasColumnName("shopFrontImg") .HasColumnType("varchar(200)") .HasComment("门头照") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SignUrl) .HasColumnType("varchar(1000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SignaturePicture) .HasColumnName("signaturePicture") .HasColumnType("varchar(200)") .HasComment("商户签名图片") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreEntrancePic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreNo) .HasColumnType("varchar(100)") .HasComment("门店号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SubCorpId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SubMchid) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SubjectType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Support) .HasColumnName("support") .HasColumnType("varchar(200)") .HasComment("辅助照片") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TakeCreditCard) .HasColumnType("varchar(200)") .HasComment("拍卡") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TaxImage) .HasColumnName("taxImage") .HasColumnType("varchar(200)") .HasComment("税务登记证") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToAcctNo) .HasColumnType("varchar(100)") .HasComment("分账接收方") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoIdCardCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoIdCardNational) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoIdDocCopy) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoIdNumber) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoIdPeriodBegin).HasColumnType("datetime"); entity.Property(e => e.UboInfoIdPeriodEnd).HasColumnType("datetime"); entity.Property(e => e.UboInfoIdType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UboInfoName) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WeChatMerchantId) .HasColumnType("varchar(100)") .HasComment("微信商户号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatRemark) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatSignUrl) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebAuthorisation) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebDomain) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeworkPics) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ZbankNo) .HasColumnName("ZBankNo") .HasColumnType("varchar(50)") .HasComment("开户银行支行号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ZbankRegionCode) .HasColumnType("varchar(20)") .HasComment("开户银行支行区域码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AdminName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Email) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LastLoginDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Note) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Password) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Qq) .HasColumnName("QQ") .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RightInfo) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.IsAct) .HasColumnType("int(11)") .HasComment("是否活动"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TotalActual).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeCount) .HasColumnType("int(11)") .HasComment("交易笔数"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AuthType).HasColumnType("int(11)"); entity.Property(e => e.BankCardAccount) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankName) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelCode) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerNo) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReqData) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RespData) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnMsg) .HasColumnType("varchar(512)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColDetail) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColPicPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Recommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.StarNum1).HasColumnType("int(11)"); entity.Property(e => e.StarNum2).HasColumnType("int(11)"); entity.Property(e => e.StarNum3).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasComment("商户服务费退还记录"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AlipayAccountNo) .HasColumnType("varchar(50)") .HasComment("支付宝账号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(50)") .HasComment("申请单号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankCardNo) .HasColumnType("varchar(50)") .HasComment("银行卡号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商户Id"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasComment("备注") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnAmount) .HasColumnType("decimal(18,2)") .HasComment("退还金额"); entity.Property(e => e.ReturnWay) .HasColumnType("int(11)") .HasComment("退还方式"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客Id"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("商户服务费缴纳记录"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActPayPrice) .HasColumnType("decimal(18,2)") .HasComment("激活支付金额"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商户Id"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .HasComment("订单号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客Id"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AlipayAccountNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OperateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReturnAmount).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.DepositAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReturnNote) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DiviAmount) .HasColumnType("decimal(18,2)") .HasComment("已分金额"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商家"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TotalDiviAmount) .HasColumnType("decimal(18,2)") .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.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Code) .HasName("PRIMARY"); entity.Property(e => e.Code) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Mobile) .HasName("PRIMARY"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Name) .HasName("PRIMARY"); entity.Property(e => e.Name) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActCurrentAmount) .HasColumnType("decimal(18,2)") .HasComment("活动已返金额"); entity.Property(e => e.ActMaxAmount) .HasColumnType("decimal(18,2)") .HasComment("活动应返金额"); entity.Property(e => e.ActStat) .HasColumnType("int(11)") .HasComment("激活统计标记"); entity.Property(e => e.ActivationDate).HasColumnType("datetime"); entity.Property(e => e.ActivationStatus).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AllocationAmount) .HasColumnType("decimal(18,2)") .HasComment("未分配活动金额"); entity.Property(e => e.Areas) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BindDate).HasColumnType("datetime"); 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) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndTime) .HasColumnType("datetime") .HasComment("营业结束时间"); entity.Property(e => e.ExamineStatus) .HasColumnType("int(11)") .HasComment("服务费考核状态"); entity.Property(e => e.IsAct) .HasColumnType("int(11)") .HasComment("商户激活标记"); entity.Property(e => e.IsAuth) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LastAddConsumerDate).HasColumnType("datetime"); 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") .HasCollation("utf8_general_ci"); entity.Property(e => e.Logo) .HasColumnType("varchar(200)") .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") .HasCollation("utf8_general_ci"); entity.Property(e => e.Months) .HasColumnType("int(11)") .HasComment("达标月数"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserNav) .HasColumnType("varchar(500)") .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) .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.SignDate) .HasColumnType("datetime") .HasComment("微信确认签约时间"); 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)"); entity.Property(e => e.TotalActAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalActual).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalConsumeCount).HasColumnType("int(11)"); entity.Property(e => e.TotalCustomer).HasColumnType("int(11)"); entity.Property(e => e.TotalOrder).HasColumnType("int(11)"); entity.Property(e => e.TotalUser).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LoginMobile) .HasColumnType("varchar(11)") .HasComment("登录手机") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(50)") .HasComment("登录密码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DiviPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.DiviPersons).HasColumnType("int(11)"); entity.Property(e => e.GetPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.IsAll).HasColumnType("int(11)"); entity.Property(e => e.MinPayMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDays).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasComment("商户活动配置历史记录"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterDiviPercent) .HasColumnType("decimal(18,2)") .HasComment("修改后最大分红比例"); entity.Property(e => e.AfterDiviPersons) .HasColumnType("int(11)") .HasComment("修改后单笔订单分红人数"); entity.Property(e => e.AfterGetPercent) .HasColumnType("decimal(18,2)") .HasComment("修改后商家实收比例"); entity.Property(e => e.AfterIsAll) .HasColumnType("int(11)") .HasComment("修改后是否收全额"); entity.Property(e => e.AfterMinPayMoney) .HasColumnType("decimal(18,2)") .HasComment("修改后订单参与门槛"); entity.Property(e => e.AfterProfitDays) .HasColumnType("int(11)") .HasComment("修改后分红期限(天)"); entity.Property(e => e.BeforeDiviPercent) .HasColumnType("decimal(18,2)") .HasComment("修改前最大分红比例"); entity.Property(e => e.BeforeDiviPersons) .HasColumnType("int(11)") .HasComment("修改前单笔订单分红人数"); entity.Property(e => e.BeforeGetPercent) .HasColumnType("decimal(18,2)") .HasComment("修改前商家实收比例"); entity.Property(e => e.BeforeIsAll) .HasColumnType("int(11)") .HasComment("修改前是否收全额"); entity.Property(e => e.BeforeMinPayMoney) .HasColumnType("decimal(18,2)") .HasComment("修改前订单参与门槛"); entity.Property(e => e.BeforeProfitDays) .HasColumnType("int(11)") .HasComment("修改前分红期限(天)"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商户Id"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MachineId).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.QrCodeContent) .HasColumnType("varchar(500)") .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.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerRegTime).HasColumnType("datetime"); entity.Property(e => e.MerStandardDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MmpUserName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MmpUserNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SyncStatus).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasComment("商户交易统计表"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActAmount) .HasColumnType("decimal(18,2)") .HasComment("活动交易额"); entity.Property(e => e.AliPayInFactAmount) .HasColumnType("decimal(18,2)") .HasComment("支付宝实收金额"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.InFactAmount) .HasColumnType("decimal(18,2)") .HasComment("实收金额"); entity.Property(e => e.MerchantId) .HasColumnType("int(11)") .HasComment("商户Id"); entity.Property(e => e.NonActAmount) .HasColumnType("decimal(18,2)") .HasComment("非活动交易额"); entity.Property(e => e.OderCount) .HasColumnType("int(11)") .HasComment("订单数"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TradeAmount) .HasColumnType("decimal(18,2)") .HasComment("交易金额"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(50)") .HasComment("交易日期") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(50)") .HasComment("交易月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); entity.Property(e => e.WeChatInfactAmount) .HasColumnType("decimal(18,2)") .HasComment("微信实收金额"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BusinessLicense) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CommentCount).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FollowCount).HasColumnType("int(11)"); entity.Property(e => e.IsAuth) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsRecommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Logo) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Phone) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Principal) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Province) .HasColumnType("varchar(20)") .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)"); entity.Property(e => e.StarNum1).HasColumnType("decimal(18,2)"); entity.Property(e => e.StarNum2).HasColumnType("decimal(18,2)"); entity.Property(e => e.StarNum3).HasColumnType("decimal(18,2)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title2) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Mobile) .HasName("PRIMARY"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CheckCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CheckCodeTime).HasColumnType("datetime"); entity.Property(e => e.CheckNo) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AlertFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BgPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BtnText) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Content) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.ExtendColumn) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsTop) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsWeekend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MsgType).HasColumnType("int(11)"); entity.Property(e => e.PushFlag).HasColumnType("int(11)"); entity.Property(e => e.PushParam) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PushTime).HasColumnType("datetime"); entity.Property(e => e.PushType).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Summary) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TimeByDay).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UrlParam) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Extend) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Ip) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Reason) .HasColumnType("varchar(512)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TemplateId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BgPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Content) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExtendColumn) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MsgType).HasColumnType("int(11)"); entity.Property(e => e.PushFlag).HasColumnType("int(11)"); entity.Property(e => e.PushParam) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReadFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Remark) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Summary) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TemplateId).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BgPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Content) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.ExtendColumn) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsTop) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MsgType).HasColumnType("int(11)"); entity.Property(e => e.PushFlag).HasColumnType("int(11)"); entity.Property(e => e.PushParam) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PushTime).HasColumnType("datetime"); entity.Property(e => e.PushType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.ShowType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Summary) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PlacardId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReadFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Remark) .HasColumnType("varchar(255)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AutoPushDate).HasColumnType("datetime"); entity.Property(e => e.ClientType) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Devices) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsSilent) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MessageId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobiles) .HasColumnType("mediumtext") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TemplateId).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Code).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Content) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErrorNum).HasColumnType("int(11)"); entity.Property(e => e.Ip) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Kind) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RespCode) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RespContent) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendStatus).HasColumnType("int(11)"); entity.Property(e => e.SendTime).HasColumnType("datetime"); entity.Property(e => e.SendType).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.SignName) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TemplateId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VerifyCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VerifyStatus).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AuthPwd) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Params) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReqUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SmsType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Content) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Extend) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MsgType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SignName) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TemplateType).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.BankChild) .HasName("PRIMARY"); entity.HasComment("银行行号表"); entity.Property(e => e.BankChild) .HasColumnType("varchar(50)") .HasComment("支行名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankChildNo) .HasColumnType("varchar(50)") .HasComment("支行行号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankParent) .HasColumnType("varchar(50)") .HasComment("总行名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankParentNo) .HasColumnType("varchar(50)") .HasComment("总行行号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.CityName) .HasName("PRIMARY"); entity.Property(e => e.CityName) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Code) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.BankName) .HasName("PRIMARY"); entity.Property(e => e.BankName) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardMerCount).HasColumnType("int(11)"); entity.Property(e => e.RewardType).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => e.SnNo) .HasName("OpenRewardDetailIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OpenDetailRec) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardTips) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardType).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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.BuySnNum).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); entity.Property(e => e.FailReason) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerUserType).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OpenDetailRec) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.RewardDesc) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardTips) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardType).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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StdBuySnNum).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserNav) .HasColumnType("varchar(300)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterOperate) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BeforeOperate) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpMode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OperateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TableEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.OrderNo) .HasName("PRIMARY"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderIds) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RspCode).HasColumnType("int(11)"); entity.Property(e => e.RspMsg) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => e.OrderId) .HasName("OrderProductIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.NormDetail) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.ProductCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductCount).HasColumnType("int(11)"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); entity.Property(e => e.ProductIntegral).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProductName) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductPhoto) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductPrice).HasColumnType("decimal(18,2)"); 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.SnNos) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TotalIntegral).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Amount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpCompany).HasColumnType("int(11)"); entity.Property(e => e.GoodStatus).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.Photos) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Reason).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => e.StoreId) .HasName("OrdersStoreIdIndex"); entity.HasIndex(e => new { e.UserId, e.ParentOrderId }) .HasName("OrdersListIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActualPay).HasColumnType("decimal(18,2)"); entity.Property(e => e.Address) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AutoConfirmDate).HasColumnType("datetime"); entity.Property(e => e.BuyCount).HasColumnType("int(11)"); entity.Property(e => e.ChannelAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ConfirmDate).HasColumnType("datetime"); entity.Property(e => e.CouponId).HasColumnType("int(11)"); entity.Property(e => e.CouponMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeliveryType).HasColumnType("int(11)"); entity.Property(e => e.ErpCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpMode).HasColumnType("int(11)"); entity.Property(e => e.ErpName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.Integral).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentOrderId).HasColumnType("int(11)"); entity.Property(e => e.PayDate).HasColumnType("datetime"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); entity.Property(e => e.PayStatus).HasColumnType("int(11)"); entity.Property(e => e.PostalCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RefundActAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.RefundFeeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.RefundReason) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RefundStatus).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReqData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ResData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnMsg) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendDate).HasColumnType("datetime"); entity.Property(e => e.SendStatus).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.SnNos) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreContact) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreContactMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.StoreType).HasColumnType("int(11)"); entity.Property(e => e.StoreUserId).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TotalPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserMessage) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BgColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.GotoPages) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsScrollBar) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsSkid) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LeftAction1) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LeftAction2) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LeftBtn1) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LeftBtn2) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ModulePath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ModuleVersion).HasColumnType("int(11)"); entity.Property(e => e.MustUpdate) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RightAction1) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RightAction2) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RightBtn1) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RightBtn2) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.ShowTitle) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StatusBarStyle) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TextColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OutNum).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StockNum).HasColumnType("int(11)"); entity.Property(e => e.TotalNum).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterOut).HasColumnType("int(11)"); entity.Property(e => e.AfterStock).HasColumnType("int(11)"); entity.Property(e => e.AfterTotal).HasColumnType("int(11)"); entity.Property(e => e.BeforeOut).HasColumnType("int(11)"); entity.Property(e => e.BeforeStock).HasColumnType("int(11)"); entity.Property(e => e.BeforeTotal).HasColumnType("int(11)"); entity.Property(e => e.ChangeCount).HasColumnType("int(11)"); entity.Property(e => e.ChangeKind).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ChangeKind).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosCouponId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.ExchangeCode) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpProfitFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpProfitMerchantId).HasColumnType("int(11)"); entity.Property(e => e.HelpProfitStatus).HasColumnType("int(11)"); entity.Property(e => e.IsLock) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsUse) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LeaderUserId).HasColumnType("int(11)"); entity.Property(e => e.OpId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UseDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivationState).HasColumnType("int(11)"); entity.Property(e => e.ActivationTime).HasColumnType("datetime"); entity.Property(e => e.ActivityList) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BatchNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BindMerchantId).HasColumnType("int(11)"); entity.Property(e => e.BindingState).HasColumnType("int(11)"); entity.Property(e => e.BindingTime).HasColumnType("datetime"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.BuyUserId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCardTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.Detail) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceKind) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsPurchase) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsVip) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosSnType).HasColumnType("int(11)"); entity.Property(e => e.PrizeParams) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecycBackCount).HasColumnType("int(11)"); entity.Property(e => e.RecycEndDate).HasColumnType("datetime"); entity.Property(e => e.ScanQrTrade).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TransferTime).HasColumnType("datetime"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ChangeFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.PosId).HasColumnType("int(11)"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosUserId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.PosSn, e.BrandId }) .HasName("PosMachinesTwoIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivationState).HasColumnType("int(11)"); entity.Property(e => e.ActivationTime).HasColumnType("datetime"); entity.Property(e => e.ActivityList) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BatchNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BindMerchantId).HasColumnType("int(11)"); entity.Property(e => e.BindingState).HasColumnType("int(11)"); entity.Property(e => e.BindingTime).HasColumnType("datetime"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.BuyUserId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreditTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCardTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.Detail) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceKind) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DownFeeDate).HasColumnType("datetime"); entity.Property(e => e.DownFeeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.DownFeeMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsFirst).HasColumnType("int(11)"); entity.Property(e => e.IsPurchase).HasColumnType("int(11)"); entity.Property(e => e.IsVip) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LeaderUserId).HasColumnType("int(11)"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.OpReserve1).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpReserve2).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpReserve3).HasColumnType("decimal(18,2)"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosSnType).HasColumnType("int(11)"); entity.Property(e => e.PreUserId).HasColumnType("int(11)"); entity.Property(e => e.PrizeParams) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecycBackCount).HasColumnType("int(11)"); entity.Property(e => e.RecycEndDate).HasColumnType("datetime"); entity.Property(e => e.RecycStartDate).HasColumnType("datetime"); entity.Property(e => e.RecycStatus).HasColumnType("int(11)"); entity.Property(e => e.ScanQrTrade).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.SourcePosSn) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TransferTime).HasColumnType("datetime"); entity.Property(e => e.UpFeeDate).HasColumnType("datetime"); entity.Property(e => e.UpFeeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UpFeeMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.BrandId, e.KqSnNo, e.KqMerNo }) .HasName("PosMerchantInfoIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActType).HasColumnType("int(11)"); entity.Property(e => e.ActTypeDesc) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActiveStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.City) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); entity.Property(e => e.KqMerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqRegTime).HasColumnType("datetime"); entity.Property(e => e.KqSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MatchTime).HasColumnType("datetime"); entity.Property(e => e.MerIdcardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerRealName) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerStandardDate).HasColumnType("datetime"); entity.Property(e => e.MerStatus).HasColumnType("int(11)"); entity.Property(e => e.MerUserId).HasColumnType("int(11)"); entity.Property(e => e.MerUserType).HasColumnType("int(11)"); entity.Property(e => e.MerchantMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Province) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RebateQual).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardMonths).HasColumnType("int(11)"); entity.Property(e => e.StandardStatus).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.KqSnNo, e.KqMerNo }) .HasName("PosMerchantInfoBakIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActType).HasColumnType("int(11)"); entity.Property(e => e.ActTypeDesc) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActiveStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.City) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); entity.Property(e => e.KqMerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqRegTime).HasColumnType("datetime"); entity.Property(e => e.KqSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MatchTime).HasColumnType("datetime"); entity.Property(e => e.MerIdcardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerRealName) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerStandardDate).HasColumnType("datetime"); entity.Property(e => e.MerStatus).HasColumnType("int(11)"); entity.Property(e => e.MerUserId).HasColumnType("int(11)"); entity.Property(e => e.MerUserType).HasColumnType("int(11)"); entity.Property(e => e.MerchantMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Province) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RebateQual).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnApplyUserId).HasColumnType("int(11)"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardMonths).HasColumnType("int(11)"); entity.Property(e => e.StandardStatus).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.CertId) .HasName("PRIMARY"); entity.Property(e => e.CertId) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.PrizeFlag1).HasColumnType("int(11)"); entity.Property(e => e.PrizeFlag2).HasColumnType("int(11)"); entity.Property(e => e.PrizeFlag3).HasColumnType("int(11)"); entity.Property(e => e.PrizeFlag4).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.MerchantId, e.BrandId, e.TradeMonth, e.TradeDate }) .HasName("PosMerchantTradeSummayIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AmountType).HasColumnType("int(11)"); entity.Property(e => e.ApplyId).HasColumnType("int(11)"); entity.Property(e => e.BeforeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OperateType).HasColumnType("int(11)"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyDate).HasColumnType("datetime"); entity.Property(e => e.ApplyFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.AuthFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CancelDate).HasColumnType("datetime"); entity.Property(e => e.CancelFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.FromStoreId).HasColumnType("int(11)"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); 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.SnId).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.ToRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToStoreId).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AgreeCount).HasColumnType("int(11)"); entity.Property(e => e.BackCount).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HasPhoto) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.PhotoList) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); entity.Property(e => e.ProductNormId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.StarNum).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ProductCommentId).HasColumnType("int(11)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Areas) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FirstAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.FirstFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MoreAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.MoreFee).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TemplateId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FirstAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.FirstFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.IsFree) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MeterMode).HasColumnType("int(11)"); entity.Property(e => e.MoreAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.MoreFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SendAddress) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendAreas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendDate).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TransportMode).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Name) .HasName("PRIMARY"); entity.Property(e => e.Name) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColIds) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductIds) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BuyCount).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CostPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdList) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Integral).HasColumnType("decimal(18,2)"); entity.Property(e => e.LimitCount).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Price).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Stock).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserIntegral).HasColumnType("decimal(18,2)"); entity.Property(e => e.UserPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TempJsonData) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BuyCount).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CommentCount).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CostPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DetailPicPath) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndDate).HasColumnType("datetime"); entity.Property(e => e.FareTemplateId).HasColumnType("int(11)"); entity.Property(e => e.GoodPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.Integral).HasColumnType("decimal(18,2)"); entity.Property(e => e.IsLimit) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsRecommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsRecommend2) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsRecommend3) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.KeyWord) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LimitCount).HasColumnType("int(11)"); entity.Property(e => e.LinkUrl) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListPicPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MemberPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantClassId).HasColumnType("int(11)"); entity.Property(e => e.MerchantColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MonthSale).HasColumnType("int(11)"); entity.Property(e => e.NormIds) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormJson) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Price).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProductCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PublishDate).HasColumnType("datetime"); 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.ShareDetail) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourcePrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Stock).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title2) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserIntegral).HasColumnType("decimal(18,2)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndDate).HasColumnType("datetime"); entity.Property(e => e.ExpiredNumber).HasColumnType("decimal(18,6)"); entity.Property(e => e.LimitCustomerDate).HasColumnType("datetime"); entity.Property(e => e.LimitDateKind).HasColumnType("int(11)"); entity.Property(e => e.LimitDateVal).HasColumnType("int(11)"); entity.Property(e => e.MachineCount).HasColumnType("int(11)"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); entity.Property(e => e.ProfitNumber).HasColumnType("decimal(18,6)"); 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)"); entity.Property(e => e.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FloorNumber).HasColumnType("int(11)"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); entity.Property(e => e.Percents).HasColumnType("decimal(18,6)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FloorDiff) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.FloorNumber).HasColumnType("int(11)"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); entity.Property(e => e.Percents).HasColumnType("decimal(18,6)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BankCardType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsHelp) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DebitAddProfitVal).HasColumnType("decimal(18,6)"); entity.Property(e => e.DebitPercents).HasColumnType("decimal(18,6)"); entity.Property(e => e.KindId).HasColumnType("int(11)"); entity.Property(e => e.LevelDiff) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LevelNumber).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Percents).HasColumnType("decimal(18,6)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndDate).HasColumnType("datetime"); entity.Property(e => e.MaxFloor).HasColumnType("int(11)"); entity.Property(e => e.MaxLevel).HasColumnType("int(11)"); entity.Property(e => e.MaxLevelContinue) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MinProfitVal).HasColumnType("decimal(18,5)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.CheckData) .HasName("PRIMARY"); entity.Property(e => e.CheckData) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitObjectsActiveId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TextValue) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CardType).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndDate).HasColumnType("datetime"); entity.Property(e => e.FinishNumber).HasColumnType("decimal(18,6)"); entity.Property(e => e.LimitCustomerDate).HasColumnType("datetime"); entity.Property(e => e.LimitDateKind).HasColumnType("int(11)"); entity.Property(e => e.LimitDateVal).HasColumnType("int(11)"); entity.Property(e => e.MachineCount).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); entity.Property(e => e.ProfitNumber).HasColumnType("decimal(18,6)"); entity.Property(e => e.ProfitNumber2).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Name) .HasName("PRIMARY"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActivityId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndDate).HasColumnType("datetime"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ObjectId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Code) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DataValue) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RuleId).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Account) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Amount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AppId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CustomRelation) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Description) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OutOrderNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RelationType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.State) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubAppId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SubMchid) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TransactionId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Type) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UnfreezeUnsplit) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Account) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CustomRelation) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RelationType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubAppId) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SubMchid) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Type) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CapFlag).HasColumnType("int(11)"); entity.Property(e => e.ClearDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerHelpFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrPayFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectFlag) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Rank).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserLevel).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCapSingleReward).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCapTradeNum).HasColumnType("int(11)"); entity.Property(e => e.DebitNonCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDebitAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDebitNonCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDebitProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDebitProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrDebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrDebitNotCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDebitAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDebitNonCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDebitProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDebitProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.OtherCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.OtherDebitNotCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.OtherTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDebitNonCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDebitProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitType).HasColumnType("int(11)"); entity.Property(e => e.QrCreditAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrDebitAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrDebitNonTradeCapProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrDebitNotCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrDebitProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrDebitProfitStandardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BelongUserId).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerHelpFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerRegTime).HasColumnType("datetime"); entity.Property(e => e.MerStandardDate).HasColumnType("datetime"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProductName) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubsidyProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.SubsidyProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.SubsidyType).HasColumnType("int(11)"); entity.Property(e => e.SubsidyUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectFlag) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqSnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Rank).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubsidyProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserLevel).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AlipayAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayPartnerId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayPrivateKey) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AlipayPublicKey) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunAccessKeyId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunAccessKeySecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunAndroidActivity) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunAndroidNotifyTitle) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunPushAndroidAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunPushAndroidAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunPushIosAppId) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunPushIosAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AliyunRegionId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpApiUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpAppCode) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MeiQiaAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MobAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MobAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqAndroidAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqAndroidAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqIosAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqIosAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ServerIp) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiDefaultTemplate) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiPwd) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiSign) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMchId) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMiniAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMiniAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatOpenAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatOpenAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatPayKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActEffectEndDate).HasColumnType("datetime"); entity.Property(e => e.ActEffectStartDate).HasColumnType("datetime"); entity.Property(e => e.ActStdCond) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnDelayDay).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BizStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecMallBrandId).HasColumnType("int(11)"); entity.Property(e => e.RecMallOrder) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RecMallOrderTime).HasColumnType("datetime"); entity.Property(e => e.RecMallProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RecMallProductNum).HasColumnType("int(11)"); entity.Property(e => e.RecMallSendTime).HasColumnType("datetime"); entity.Property(e => e.RecUserId).HasColumnType("int(11)"); entity.Property(e => e.RecUserType).HasColumnType("int(11)"); entity.Property(e => e.RegDate).HasColumnType("datetime"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RewardStatus).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)"); entity.Property(e => e.StatDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatType).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.StatMonth, e.StatDate, e.SeoTitle }) .HasName("PullnewSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BizSnDelayDay).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecUserAuthNum).HasColumnType("int(11)"); entity.Property(e => e.RecUserDeliveryStdNum).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RuleSnDelayDay).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)"); entity.Property(e => e.StatDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(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)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsAct) .HasColumnType("int(11)") .HasComment("是否活动"); entity.Property(e => e.PayMode) .HasColumnType("int(11)") .HasComment("支付方式"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); 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.SnNo) .HasColumnType("varchar(30)") .HasComment("码牌SN") .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.TotalActual) .HasColumnType("decimal(18,2)") .HasComment("实际返现金额"); entity.Property(e => e.TradeAmount) .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.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.DirectUserId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeMonth, e.PosSn }) .HasName("RecommendTradeSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CancelDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.ErpCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PostType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecycOrderNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RecycStoreId).HasColumnType("int(11)"); entity.Property(e => e.ResultDate).HasColumnType("datetime"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CancelDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OrderId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ResultDate).HasColumnType("datetime"); 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.SnNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id) .HasColumnName("ID") .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Icon) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MainDataList) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MainMenu) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MainStat) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OtherRight) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RightLevel).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Url) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Detail) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListPic) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Pic) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TextDetail) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.Url) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UrlParam) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Lecturer) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Photo) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StudyPerson).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MeetId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ContinueDays).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RingFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TotalDays).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.Details) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Recommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TaskName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.Url) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UrlParam) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TaskId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CategoryId).HasColumnType("int(11)"); entity.Property(e => e.Content) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubTitle) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActDate).HasColumnType("datetime"); entity.Property(e => e.ActStatus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BindDate).HasColumnType("datetime"); entity.Property(e => e.BindStatus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreditAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.IsRecyc) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Note) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosSn) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosSnType).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.FromStoreId).HasColumnType("int(11)"); entity.Property(e => e.LaveNum).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TotalNum).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ApplyId).HasColumnType("int(11)"); entity.Property(e => e.BeforeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OperateType).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.OrderNo) .HasName("PRIMARY"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterLaveNum).HasColumnType("int(11)"); entity.Property(e => e.AfterOutNum).HasColumnType("int(11)"); entity.Property(e => e.AfterTotalNum).HasColumnType("int(11)"); entity.Property(e => e.BeforeLaveNum).HasColumnType("int(11)"); entity.Property(e => e.BeforeOutNum).HasColumnType("int(11)"); entity.Property(e => e.BeforeTotalNum).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.OpStoreNum).HasColumnType("int(11)"); entity.Property(e => e.OpSymbol) .HasColumnType("varchar(1)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TransRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TransType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => e.SnNo) .HasName("StoreChangeHistoryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BizBatchNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.ChangeRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceModel) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceVendor) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromDate).HasColumnType("datetime"); entity.Property(e => e.FromRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.OpId).HasColumnType("int(11)"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StockOpDirect).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.ToDate).HasColumnType("datetime"); entity.Property(e => e.ToRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToStoreId).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.TransType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Code) .HasName("PRIMARY"); entity.Property(e => e.Code) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Name) .HasName("PRIMARY"); entity.Property(e => e.Name) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuthDate).HasColumnType("datetime"); entity.Property(e => e.AuthFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BrandId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Deposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.FilePath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LaveNum).HasColumnType("int(11)"); entity.Property(e => e.LimitTopUserId) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManageMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManageUserId).HasColumnType("int(11)"); entity.Property(e => e.ManagerEmail) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.OutNum).HasColumnType("int(11)"); entity.Property(e => e.ParentNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentStoreId).HasColumnType("int(11)"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreKind).HasColumnType("int(11)"); entity.Property(e => e.StoreName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StoreStatus).HasColumnType("int(11)"); entity.Property(e => e.StoreType).HasColumnType("int(11)"); entity.Property(e => e.ThisMonthSendCount).HasColumnType("int(11)"); entity.Property(e => e.TotalNum).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.PromissAmount).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AmountType).HasColumnType("int(11)"); entity.Property(e => e.ApplyId).HasColumnType("int(11)"); entity.Property(e => e.BeforeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OperateType).HasColumnType("int(11)"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ApplyNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ApplyNum).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.ErpCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SendMode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SendNum).HasColumnType("int(11)"); entity.Property(e => e.SendSn) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AgentStoreId).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderAmt).HasColumnType("int(11)"); entity.Property(e => e.OrderNum).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RefundAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.RefundOrderNum).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SettleAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.SettleStatus).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UnitPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.StoreId, e.TradeMonth, e.TradeDate, e.BrandId }) .HasName("StoreSnActivateSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivateNum).HasColumnType("int(11)"); entity.Property(e => e.AgentStoreId).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectActNum).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RejectActNum).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TransferActNum).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserApplyNum).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.StoreId, e.TransType, e.CreateDate }) .HasName("StoreStockChangeIndex"); entity.HasIndex(e => new { e.ToUserId, e.Sort, e.BrandId }) .HasName("StoreStockChangeIndex2"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActRewardUserId).HasColumnType("int(11)"); entity.Property(e => e.ActiveStatus).HasColumnType("int(11)"); entity.Property(e => e.BindMerchant).HasColumnType("int(11)"); entity.Property(e => e.BindStatus).HasColumnType("int(11)"); entity.Property(e => e.BizBatchNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.BrandType) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceModel) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceVendor) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpressNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromDate).HasColumnType("datetime"); entity.Property(e => e.FromRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); entity.Property(e => e.OpId).HasColumnType("int(11)"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStatus).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StockOpDirect).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.ToDate).HasColumnType("datetime"); entity.Property(e => e.ToRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToStoreId).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.TransType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActType).HasColumnType("int(11)"); entity.Property(e => e.ActTypeDesc) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PosType) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RiskStatus).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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.StandardDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SwapApplyDate).HasColumnType("datetime"); entity.Property(e => e.SwapApplyOrderNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SwapExtProductTypes) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SwapSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SwapStatus).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11) unsigned"); entity.Property(e => e.ActualMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.MoreMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.SendMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.Status).HasColumnType("int(11) unsigned"); entity.Property(e => e.UserId).HasColumnType("int(11) unsigned"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.SeoTitle, e.BrandId }) .HasName("SubsidyRecordIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CapFlag).HasColumnType("int(11)"); entity.Property(e => e.ClearDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.DirectFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerHelpFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrPayFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AdminName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LastLoginDate).HasColumnType("datetime"); entity.Property(e => e.Password) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Role) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RightInfo) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Contents) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Amount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BatchCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BizTime).HasColumnType("datetime"); entity.Property(e => e.BizType).HasColumnType("int(11)"); entity.Property(e => e.ClientIp) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PartnerTradeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RechargeRecNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SyncStatus).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IndexDescription) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IndexKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Logo) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Phone) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RightInfo) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.StartAdPhoto) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UploadAutoWater) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UploadAutoZoom) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UploadAutoZoomHeight).HasColumnType("int(11)"); entity.Property(e => e.UploadAutoZoomQuality).HasColumnType("int(11)"); entity.Property(e => e.UploadAutoZoomWidth).HasColumnType("int(11)"); entity.Property(e => e.UploadExt) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UploadMaxSize).HasColumnType("int(11)"); entity.Property(e => e.UploadOss) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UploadWaterPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UploadWaterPosition) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WebName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebStatCode) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditResult).HasColumnType("int(11)"); entity.Property(e => e.AuditTime).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.EnterEndDate).HasColumnType("datetime"); entity.Property(e => e.EnterStartDate).HasColumnType("datetime"); entity.Property(e => e.ManagerName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManagerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MaxUserNum).HasColumnType("int(11)"); entity.Property(e => e.MinUserNum).HasColumnType("int(11)"); entity.Property(e => e.NotifyFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TeamName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TeamNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TeamStatus).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WatchWord) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.TeamName) .HasName("PRIMARY"); entity.Property(e => e.TeamName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TeamId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.TeamNo) .HasName("PRIMARY"); entity.Property(e => e.TeamNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TeamId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BlackStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.ManagerName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManagerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BlacklistCycle).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnterEndMin).HasColumnType("int(11)"); entity.Property(e => e.LimitBuddyNo) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MaxCycleNum).HasColumnType("int(11)"); entity.Property(e => e.MaxStartDayLimit).HasColumnType("int(11)"); entity.Property(e => e.MaxUserNum).HasColumnType("int(11)"); entity.Property(e => e.MinCycleNum).HasColumnType("int(11)"); entity.Property(e => e.MinStartDayLimit).HasColumnType("int(11)"); entity.Property(e => e.MinUserNum).HasColumnType("int(11)"); entity.Property(e => e.OverlineStatus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActMerNum).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.StatDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TeamActMerNum).HasColumnType("int(11)"); entity.Property(e => e.TeamEndDate).HasColumnType("datetime"); entity.Property(e => e.TeamId).HasColumnType("int(11)"); entity.Property(e => e.TeamStartDate).HasColumnType("datetime"); entity.Property(e => e.TeamUserId).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditResult).HasColumnType("int(11)"); entity.Property(e => e.AuditTime).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndDate).HasColumnType("datetime"); entity.Property(e => e.EffectStartDate).HasColumnType("datetime"); entity.Property(e => e.EnterDate).HasColumnType("datetime"); entity.Property(e => e.ManagerName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManagerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NotifyFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TeamApplyStatus).HasColumnType("int(11)"); entity.Property(e => e.TeamId).HasColumnType("int(11)"); entity.Property(e => e.TeamLeader).HasColumnType("int(11)"); entity.Property(e => e.TeamStatus).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActMerNum).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.StatDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TeamActMerNum).HasColumnType("int(11)"); entity.Property(e => e.TeamEndDate).HasColumnType("datetime"); entity.Property(e => e.TeamId).HasColumnType("int(11)"); entity.Property(e => e.TeamStartDate).HasColumnType("datetime"); entity.Property(e => e.TeamUserId).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.MakerCode) .HasName("PRIMARY"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(50)") .HasCharSet("latin1") .HasCollation("latin1_swedish_ci"); entity.Property(e => e.CertId) .HasColumnType("varchar(50)") .HasCharSet("latin1") .HasCollation("latin1_swedish_ci"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.RecordNo) .HasName("PRIMARY"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(50)") .HasCharSet("latin1") .HasCollation("latin1_swedish_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ChargeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChargeType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.Field1) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeMonth, e.TradeDate, e.BrandId, e.QueryCount, e.VipFlag, e.PayType, e.SeoTitle }) .HasName("TradeDaySummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpNonDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NotHelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.NotHelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.NotHelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpNonDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.PayType).HasColumnType("int(11)"); entity.Property(e => e.ProfitDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectDebitCapNum).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitNonDirectTradeAmt).HasColumnType("decimal(18,2)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VipFlag).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActStatus).HasColumnType("int(11)"); entity.Property(e => e.BankCardType).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CapFlag).HasColumnType("int(11)"); entity.Property(e => e.ClearDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerHelpFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerUserId).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.ParentNav) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayType).HasColumnType("int(11)"); entity.Property(e => e.QrPayFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeSerialNo) .HasColumnType("varchar(48)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VipFlag).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BankCardType).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CapFlag).HasColumnType("int(11)"); entity.Property(e => e.ClearDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)"); entity.Property(e => e.MerBuddyType).HasColumnType("int(11)"); entity.Property(e => e.MerHelpFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerUserId).HasColumnType("int(11)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.QrPayFlag).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeDate).HasColumnType("datetime"); entity.Property(e => e.TradeSerialNo) .HasColumnType("varchar(48)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColumnEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColumnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParamString) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TableEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TableName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AccountStatus).HasColumnType("int(11)"); entity.Property(e => e.BalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FixedAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.FreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpProfitBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.LeaderBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.LeaderReserve).HasColumnType("decimal(18,2)"); entity.Property(e => e.LockStatus).HasColumnType("int(11)"); entity.Property(e => e.PreTempAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.PreTempAmountForBalance).HasColumnType("decimal(18,2)"); 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.SmallStoreDeposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreDeposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TeamTotalOverProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TeamTotalProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TeamTotalServiceProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TempAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TempAmountForBalance).HasColumnType("decimal(18,2)"); entity.Property(e => e.ThisMonthPreAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ToChargeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalOverProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalServiceProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.UserProperty).HasColumnType("int(11)"); entity.Property(e => e.UserType).HasColumnType("int(11)"); entity.Property(e => e.ValidAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ValidPreAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WithdrawAmount).HasColumnType("decimal(18,2)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.ChangeType }) .HasName("UserAccountRecordIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ChangeType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TransRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Address) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsDefault) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PostalCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.IsAct) .HasColumnType("int(11)") .HasComment("是否活动"); entity.Property(e => e.PayMode).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeCount) .HasColumnType("int(11)") .HasComment("交易笔数"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AuthType).HasColumnType("int(11)"); entity.Property(e => e.BankCardAccount) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankMobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankName) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelCode) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdcardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReqData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ResData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnMsg) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BackKind).HasColumnType("int(11)"); entity.Property(e => e.BackStatus).HasColumnType("int(11)"); entity.Property(e => e.Content) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsPhoneCallBack) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReplyContent) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.Balance).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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)"); entity.Property(e => e.StatDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.StatMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BuyCount).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.NormId).HasColumnType("int(11)"); entity.Property(e => e.ProductId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandName) .HasColumnType("varchar(12)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CodeType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Color) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DateType) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Description) .HasColumnType("varchar(1024)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnterName) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnterTips) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EnterUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LogoUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.Notice) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Prerogative) .HasColumnType("varchar(1024)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Quantity).HasColumnType("int(11)"); 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.Sku) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SupplyBalance) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.SupplyBonus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Title) .HasColumnType("varchar(9)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CardId).HasColumnType("int(11)"); entity.Property(e => e.ConsumerId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeType, e.CashOrderNo }) .HasName("UserCashRecordIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActualTradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CashOrderNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChanelName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelCode) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Ip) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ManageFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.MediaSource) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayTradeNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PaymentDate).HasColumnType("datetime"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReqData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ResData) .HasColumnType("varchar(2048)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReturnMsg) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SettleBankCardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleBankName) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeFee).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Icon) .HasColumnType("varchar(200)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DataId).HasColumnType("int(11)"); entity.Property(e => e.Kind).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.UserId) .HasName("PRIMARY"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.ActiveRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CashFreezeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.CollectionCount).HasColumnType("int(11)"); entity.Property(e => e.Coupons).HasColumnType("decimal(18,2)"); entity.Property(e => e.CurMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.FansCount).HasColumnType("int(11)"); entity.Property(e => e.FollowCount).HasColumnType("int(11)"); entity.Property(e => e.GrowthValue).HasColumnType("int(11)"); entity.Property(e => e.Integral).HasColumnType("decimal(18,2)"); entity.Property(e => e.MachineCount).HasColumnType("int(11)"); entity.Property(e => e.ProfitRewardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.SettleAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.ToCommentOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToPayOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToReceiveOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToRefundOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToSendOrderCount).HasColumnType("int(11)"); entity.Property(e => e.TotalOrderMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalUseIntegral).HasColumnType("decimal(18,2)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddMan).HasColumnType("int(11)"); entity.Property(e => e.Birthday).HasColumnType("datetime"); entity.Property(e => e.CardAddAddress).HasColumnType("int(11)"); entity.Property(e => e.CardExpireDate).HasColumnType("datetime"); entity.Property(e => e.EduLevel).HasColumnType("int(11)"); entity.Property(e => e.Email) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FamilyIncome).HasColumnType("int(11)"); entity.Property(e => e.Interests) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Note) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OfficePhone) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PostalCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PrivatePhone) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToShopDate).HasColumnType("datetime"); entity.Property(e => e.TrafficTool).HasColumnType("int(11)"); entity.Property(e => e.UpdateMan).HasColumnType("int(11)"); entity.Property(e => e.UserJob).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Job).HasColumnType("int(11)"); entity.Property(e => e.MemberKind).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(20)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.MakerCode) .HasName("PRIMARY"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Mobile) .HasName("PRIMARY"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.RealName) .HasName("PRIMARY"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.FriendId).HasColumnType("int(11)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(20)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(20)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpLevelDays).HasColumnType("int(11)"); entity.Property(e => e.UpLevelGrowth).HasColumnType("int(11)"); entity.Property(e => e.UpLevelIntegral).HasColumnType("decimal(10,0)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Kind).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.IdBrand) .HasName("PRIMARY"); entity.Property(e => e.IdBrand) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.BindCount).HasColumnType("int(11)"); entity.Property(e => e.DividendsProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.OpenProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.OtherProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalMachineCount).HasColumnType("int(11)"); entity.Property(e => e.TradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.UnBindCount).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.OrderNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OrderNum).HasColumnType("int(11)"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RuleOrderAmt).HasColumnType("decimal(18,2)"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnShipDate).HasColumnType("datetime"); entity.Property(e => e.SnStatus).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CardType) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpAddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpProfitPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpProfitRateBase).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitRateBase).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddOrSubRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CardType).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpFlag).HasColumnType("int(11)"); entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitRateBase).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CheckStatus).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SubsidyDirectProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.SubsidyJuniorProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.SubsidyTotalProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExceedVal).HasColumnType("int(11)"); entity.Property(e => e.NextRank).HasColumnType("int(11)"); entity.Property(e => e.OperateDate).HasColumnType("datetime"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Rank).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)"); entity.Property(e => e.StatMonth).HasColumnType("int(11)"); entity.Property(e => e.StatYear).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpgradeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.WhiteRank).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Rank).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeMonth, e.TradeDate, e.RebateType, e.ProductType, e.SeoTitle }) .HasName("UserRebateDetailIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ChannelMerNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrNo) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductType).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RebateMonthCount).HasColumnType("int(11)"); entity.Property(e => e.RebateRewardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RebateType).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActUserId).HasColumnType("int(11)"); entity.Property(e => e.ActiveStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndActDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectEndCycleDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectStartActDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EffectStartCycleDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnShipDate).HasColumnType("datetime"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceShipDate).HasColumnType("datetime"); entity.Property(e => e.SourceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SourceSnType).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.StandardDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActivityRuleId).HasColumnType("int(11)"); entity.Property(e => e.AfterEndCycleDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BeforeEndCycleDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.ChangeRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.InitCycleDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecUserId).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SnDelayDay).HasColumnType("int(11)"); entity.Property(e => e.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStoreId).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SourceSnShipDate).HasColumnType("datetime"); entity.Property(e => e.SourceSnType).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActRewardUserId).HasColumnType("int(11)"); entity.Property(e => e.ActiveStatus).HasColumnType("int(11)"); entity.Property(e => e.BindMerchantId).HasColumnType("int(11)"); entity.Property(e => e.BindStatus).HasColumnType("int(11)"); entity.Property(e => e.BizBatchNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.BrandType) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChangeRecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceModel) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceVendor) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromDate).HasColumnType("datetime"); entity.Property(e => e.FromRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FromUserId).HasColumnType("int(11)"); 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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnStatus).HasColumnType("int(11)"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceStoreId).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StockOpDirect).HasColumnType("int(11)"); entity.Property(e => e.ToDate).HasColumnType("datetime"); entity.Property(e => e.ToRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToStoreId).HasColumnType("int(11)"); entity.Property(e => e.ToUserId).HasColumnType("int(11)"); entity.Property(e => e.TransType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectSnTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RecordNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RiskResult).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.SnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SnType).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SourceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SourceSnType).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SwapExtProductTypes) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpSourceSnNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpSourceSnType).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirAvgTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectActMerCount).HasColumnType("int(11)"); entity.Property(e => e.DirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RiskStatus).HasColumnType("int(11)"); entity.Property(e => e.RuleId).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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SwapExtProductTypes) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TopUserId).HasColumnType("int(11)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndEffectTime).HasColumnType("datetime"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RiskType).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)"); entity.Property(e => e.StartEffectTime).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.TradeMonth, e.TradeDate, e.SeoTitle, e.BrandId, e.QueryCount }) .HasName("UserTradeDaySummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.DirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonDirectDebitCapNum).HasColumnType("int(11)"); entity.Property(e => e.NonDirectDebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonDirectTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeDate) .HasColumnType("varchar(8)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasIndex(e => new { e.UserId, e.BrandId, e.TradeMonth, e.SeoKeyword, e.SeoTitle }) .HasName("UserTradeMonthSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActiveBuddyMerStatus).HasColumnType("int(11)"); entity.Property(e => e.BrandId).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitCapTradeNum).HasColumnType("int(11)"); entity.Property(e => e.DebitNotCapTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.MallPosOrderStatus).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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)"); entity.Property(e => e.StatType).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.TradeMonth) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AccessToken) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActiveRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Address) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentAreas) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentLevel).HasColumnType("int(11)"); entity.Property(e => e.AlipayUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditStatus).HasColumnType("int(11)"); entity.Property(e => e.AuthDate).HasColumnType("datetime"); entity.Property(e => e.AuthFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BankCardPositiveImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BusinessFlag).HasColumnType("int(11)"); entity.Property(e => e.CarIds) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardNo) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardRecCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CashFreezeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.CashNote) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CashStatus).HasColumnType("int(11)"); entity.Property(e => e.CertFrontImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertReverseImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertValidEndDate).HasColumnType("datetime"); entity.Property(e => e.CertValidStartDate).HasColumnType("datetime"); entity.Property(e => e.CitySetDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateStoreDate).HasColumnType("datetime"); entity.Property(e => e.DeviceId) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceToken) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpiredDate).HasColumnType("datetime"); entity.Property(e => e.GroupId) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HandCertImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HandPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HeadPhoto) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpProfitAgree) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpProfitAgreeDate).HasColumnType("datetime"); entity.Property(e => e.IdCardEndNo) .HasColumnType("varchar(4)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsNewUser) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsSign) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LeaderLevel).HasColumnType("int(11)"); entity.Property(e => e.LockStatus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LoginStatus).HasColumnType("int(11)"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantDate).HasColumnType("datetime"); entity.Property(e => e.MerchantType).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NickName) .HasColumnType("varchar(300)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId).HasColumnType("int(11)"); entity.Property(e => e.PayPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitRewardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferenceCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferenceQrCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferralUserId).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RiskFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.RiskRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RreezeRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SettleAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.SettleBankCardName) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleBankCardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleBankName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sex).HasColumnType("int(11)"); entity.Property(e => e.SignDate).HasColumnType("datetime"); entity.Property(e => e.SignImgUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SignPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreStock).HasColumnType("int(11)"); entity.Property(e => e.Tags) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ThisMonthSend).HasColumnType("int(11)"); entity.Property(e => e.ThisMonthTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserLevel).HasColumnType("int(11)"); entity.Property(e => e.UserProperty).HasColumnType("int(11)"); entity.Property(e => e.UserType).HasColumnType("int(11)"); entity.Property(e => e.ValidAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AccessToken) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActiveRewardAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Address) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentAreas) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AgentLevel).HasColumnType("int(11)"); entity.Property(e => e.AlipayUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuditStatus).HasColumnType("int(11)"); entity.Property(e => e.AuthDate).HasColumnType("datetime"); entity.Property(e => e.AuthFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.BankCardPositiveImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BusinessFlag).HasColumnType("int(11)"); entity.Property(e => e.CarIds) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardNo) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CardRecCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CashFreezeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.CashNote) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CashStatus).HasColumnType("int(11)"); entity.Property(e => e.CertFrontImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertReverseImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CertValidEndDate).HasColumnType("datetime"); entity.Property(e => e.CertValidStartDate).HasColumnType("datetime"); entity.Property(e => e.CitySetDate).HasColumnType("datetime"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateStoreDate).HasColumnType("datetime"); entity.Property(e => e.DeviceId) .HasColumnType("varchar(128)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceToken) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DeviceType) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpiredDate).HasColumnType("datetime"); entity.Property(e => e.GroupId) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HandCertImage) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HandPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HeadPhoto) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HelpProfitAgree) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.HelpProfitAgreeDate).HasColumnType("datetime"); entity.Property(e => e.IdCardEndNo) .HasColumnType("varchar(4)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsNewUser) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.IsSign) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LeaderLevel).HasColumnType("int(11)"); entity.Property(e => e.LockStatus) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LoginStatus).HasColumnType("int(11)"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantDate).HasColumnType("datetime"); entity.Property(e => e.MerchantType).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NickName) .HasColumnType("varchar(300)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId).HasColumnType("int(11)"); entity.Property(e => e.PayPwd) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProfitRewardRate).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RealName) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferenceCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferenceQrCode) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ReferralUserId).HasColumnType("int(11)"); entity.Property(e => e.Remark) .HasColumnType("mediumtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RiskFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.RiskRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RreezeRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.SettleAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.SettleBankCardName) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleBankCardNo) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleBankName) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SettleRemark) .HasColumnType("varchar(64)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sex).HasColumnType("int(11)"); entity.Property(e => e.SignDate).HasColumnType("datetime"); entity.Property(e => e.SignImgUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SignPic) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StoreStock).HasColumnType("int(11)"); entity.Property(e => e.Tags) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ThisMonthSend).HasColumnType("int(11)"); entity.Property(e => e.ThisMonthTrade).HasColumnType("decimal(18,2)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserLevel).HasColumnType("int(11)"); entity.Property(e => e.UserProperty).HasColumnType("int(11)"); entity.Property(e => e.UserType).HasColumnType("int(11)"); entity.Property(e => e.ValidAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.Version).HasColumnType("int(11)"); }); OnModelCreatingPartial(modelBuilder); } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); } }