using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace MySystem.ReadModels { 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 AdminMoveInfo { get; set; } public virtual DbSet Advertisment { get; set; } public virtual DbSet AgentLevelSet { 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 BusinessTradeSummary { get; set; } public virtual DbSet ChangeTypeKind { get; set; } public virtual DbSet ChangeTypes { 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 CustomQuery { get; set; } public virtual DbSet CustomQuerySub { get; set; } public virtual DbSet CustomTagSet { get; set; } public virtual DbSet ErpCompanys { get; set; } public virtual DbSet ExportExcels { get; set; } public virtual DbSet FileUpdateInfo { get; set; } public virtual DbSet FluxProfitDetail { get; set; } public virtual DbSet FluxProfitSummary { 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 HelpProfitUserTradeSummay { 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 LeaderCompAddTrade { get; set; } public virtual DbSet LeaderCompAddTradeBak { get; set; } public virtual DbSet LeaderCompPrize { get; set; } public virtual DbSet LeaderCompPrizeBak { get; set; } public virtual DbSet LeaderCompTmp { get; set; } public virtual DbSet LeaderCompTmpBak { get; set; } public virtual DbSet LeaderCompTradeStat { get; set; } public virtual DbSet LeaderCompTradeStatBak { get; set; } public virtual DbSet LeaderRankWhite { get; set; } public virtual DbSet LeaderReconRecord { 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 MerchantAddInfo { get; set; } public virtual DbSet MerchantAdmin { get; set; } public virtual DbSet MerchantAuth { get; set; } public virtual DbSet MerchantClass { get; set; } public virtual DbSet MerchantCol { get; set; } public virtual DbSet MerchantComment { get; set; } public virtual DbSet MerchantDepositRecord { get; set; } public virtual DbSet MerchantDepositReturns { get; set; } public virtual DbSet MerchantDepositSet { 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 MerchantParamSet { get; set; } public virtual DbSet MerchantQrCode { get; set; } public virtual DbSet MerchantRebateDetail { get; set; } public virtual DbSet Merchants { get; set; } public virtual DbSet MobileCodeCheck { get; set; } public virtual DbSet MsgAlert { get; set; } public virtual DbSet MsgAlertUserList { 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 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 OperatorRankWhite { 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 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 RadioCardInfo { get; set; } public virtual DbSet RecommendDirectUser { get; set; } public virtual DbSet RecommendOrderCheck { get; set; } public virtual DbSet RecommendTradeSummary { get; set; } public virtual DbSet RecycMachineOrder { get; set; } public virtual DbSet RecycMachineOrderPos { get; set; } public virtual DbSet RefreshTokens { 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 SettlementCardChangeRecord { get; set; } public virtual DbSet SimCardDaySummary { get; set; } public virtual DbSet SimposMerchantInfo { 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 TableSplit { 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 TmpLeaders { get; set; } public virtual DbSet TmpTradeNo { get; set; } public virtual DbSet ToChargeBackRecord { get; set; } public virtual DbSet ToChargeBackRecordSub { get; set; } public virtual DbSet ToChargeByStage { get; set; } public virtual DbSet TradeDaySummary { get; set; } public virtual DbSet TradeDaySummary2 { get; set; } public virtual DbSet TradeDaySummary2After { get; set; } public virtual DbSet TradeDaySummary2Before { get; set; } public virtual DbSet TradeDaySummaryAfter { get; set; } public virtual DbSet TradeDaySummaryBefore { 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 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 UserCashRecordForBusiness { 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 UserExchangeLeaderRecord { get; set; } public virtual DbSet UserFamilyMember { get; set; } public virtual DbSet UserForMakerCode { get; set; } public virtual DbSet UserForMakerCodeBak { 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 UserMoveInfo { 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 UserRankWhiteBefore { get; set; } public virtual DbSet UserRebateDetail { get; set; } public virtual DbSet UserSimActSummary { 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 UserYearEndInCome { get; set; } public virtual DbSet UserYearEndSummary { get; set; } public virtual DbSet Users { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { if (!optionsBuilder.IsConfigured) { optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["ReadSqlConnStr"].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.HasComment("活动报名记录"); 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.HasComment("活动信息"); 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.HasComment("活动奖励明细"); 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.HasKey(e => e.UserId) .HasName("PRIMARY"); entity.HasComment("后台帐号迁移字段表"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("账户Id"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(50)") .HasComment("登录密码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateTime) .HasColumnType("datetime") .HasComment("更新时间"); }); modelBuilder.Entity(entity => { entity.HasComment("广告位"); 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.HasComment("代理商等级"); 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.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.IconSize) .HasColumnType("int(11)") .HasComment("图标尺寸"); entity.Property(e => e.NoPageHint) .HasColumnType("varchar(500)") .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.PagDefaultIcon) .HasColumnType("varchar(200)") .HasComment("pag默认图标") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PagLocalPath) .HasColumnType("varchar(200)") .HasComment("pag文件路径") .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.ShowTitle) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("是否显示标题"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.StatusBarColor) .HasColumnType("varchar(50)") .HasComment("状态栏底色") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.HasComment("操作视频分类"); 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.HasComment("操作视频列表"); 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.HasComment("银行信息"); 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.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.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.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.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.Kind).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.TypeId) .HasColumnType("int(11)") .HasComment("所属分类Id"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); }); modelBuilder.Entity(entity => { entity.HasComment("分类设置"); 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.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.IsAct) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MaxDivi).HasColumnType("decimal(18,2)"); 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.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.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.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.HasComment("优惠券发放记录"); 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.HasComment("优惠券"); 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.HasComment("优惠券领取记录"); 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.HasComment("自定义查询"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AdminNames) .HasColumnType("varchar(500)") .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.DatabaseConnect) .HasColumnType("varchar(50)") .HasComment("链接数据库") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExcuteFlag) .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.SqlContent) .HasColumnType("mediumtext") .HasComment("sql语句") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.Title) .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("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("自定义操作子项"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AdminNames) .HasColumnType("varchar(500)") .HasComment("后台账号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Alias) .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.DataKey) .HasColumnType("varchar(50)") .HasComment("key字段") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DataText) .HasColumnType("varchar(200)") .HasComment("text字段") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DatabaseConnect) .HasColumnType("varchar(50)") .HasComment("链接数据库") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Kind) .HasColumnType("int(11)") .HasComment("类型"); entity.Property(e => e.ParentId) .HasColumnType("int(11)") .HasComment("父级Id"); 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.SqlContent) .HasColumnType("mediumtext") .HasComment("sql语句") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .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.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.HasComment("快递公司"); 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.FileName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FileUrl) .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.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.SysId).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.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.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.HasComment("助利宝创客交易额统计"); entity.HasIndex(e => new { e.UserId, e.TradeDate, e.TradeMonth, e.SeoTitle }) .HasName("HelpProfitUserTradeSummayIndex"); 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.CreateMan) .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.TradeAmount) .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.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"); 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.HasComment("产品品牌"); 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.HasComment("产品机构"); 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.HasComment("产品规则配置"); 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.ActTradeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.AdColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CountOfBox).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.DefaultDeposit).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.FluxProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.Kind).HasColumnType("int(11)"); entity.Property(e => e.MainStoreId).HasColumnType("int(11)"); entity.Property(e => e.MerNameWithStar) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.MinStock).HasColumnType("int(11)"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NoticeMoneyUnit).HasColumnType("int(11)"); entity.Property(e => e.PosPrice).HasColumnType("decimal(18,2)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReqMoneyUnit).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.SingleDepositApi) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.SpProductType) .HasColumnType("varchar(10)") .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.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.LeaderId) .HasColumnType("int(11)") .HasComment("大盟主Id"); entity.Property(e => e.LeaderReserve) .HasColumnType("decimal(18,2)") .HasComment("大盟主储备金"); 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.HasComment("领导人达标奖增量"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddTradeAmount) .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.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖增量bak"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddTradeAmount) .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.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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("创客"); 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.CompPrize) .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.DirectCount) .HasColumnType("int(11)") .HasComment("直推达标人数"); entity.Property(e => e.IsComp) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("是否达标"); entity.Property(e => e.NotDirectCount) .HasColumnType("int(11)") .HasComment("间推达标人数"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.SecDirectCount) .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖bak"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CompPrize) .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.DirectCount) .HasColumnType("int(11)") .HasComment("直推达标人数"); entity.Property(e => e.IsComp) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("是否达标"); entity.Property(e => e.NotDirectCount) .HasColumnType("int(11)") .HasComment("间推达标人数"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.SecDirectCount) .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖临时存储"); entity.Property(e => e.Id) .HasColumnType("int(11)") .HasComment("用户Id"); entity.Property(e => e.EveryMonthData) .HasColumnType("mediumtext") .HasComment("每月达标数据") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖临时存储bak"); entity.Property(e => e.Id) .HasColumnType("int(11)") .HasComment("用户Id"); entity.Property(e => e.EveryMonthData) .HasColumnType("mediumtext") .HasComment("每月达标数据") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖交易额统计"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CheckSelfTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("个人环比月交易额"); entity.Property(e => e.CheckTradeAmount) .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.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.ResultTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("增量交易"); entity.Property(e => e.SelfResultTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("个人增量交易"); entity.Property(e => e.SelfTradeAmount) .HasColumnType("decimal(18,2)") .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TradeAmount) .HasColumnType("decimal(18,2)") .HasComment("当月交易额"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("领导人达标奖交易额统计bak"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CheckSelfTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("个人环比月交易额"); entity.Property(e => e.CheckTradeAmount) .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.ParentNav) .HasColumnType("varchar(1000)") .HasComment("上级创客集合") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.ResultTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("增量交易"); entity.Property(e => e.SelfResultTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("个人增量交易"); entity.Property(e => e.SelfTradeAmount) .HasColumnType("decimal(18,2)") .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("统计月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TradeAmount) .HasColumnType("decimal(18,2)") .HasComment("当月交易额"); entity.Property(e => e.UpdateDate) .HasColumnType("datetime") .HasComment("更新时间"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasComment("更新人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(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.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.Rank) .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("用户"); 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.BalanceAmount) .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.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.ReserveAmount) .HasColumnType("decimal(18,2)") .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.StatMonth) .HasColumnType("varchar(20)") .HasComment("月份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.AccountRecordId) .HasColumnType("int(11)") .HasComment("可提现余额变动Id"); 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.ExpiredDate).HasColumnType("datetime"); entity.Property(e => e.LastBuyDate).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.OutBatchNo) .HasColumnType("varchar(2000)") .HasComment("出库批次号") .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.HasComment("机具申请明细"); 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.NoticeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("推送标记"); 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.HasComment("机具绑定收款码"); 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.HasComment("机具损坏换新申请"); 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.HasComment("机具退货申请订单"); 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.NoticeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .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.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.HasComment("菜单权限"); 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.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.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.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.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.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(50)") .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.BusinessCode) .HasColumnType("varchar(50)") .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.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.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.LegalPerson) .HasColumnType("varchar(20)") .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.MerchantShortname) .HasColumnType("varchar(50)") .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.OpenId) .HasColumnType("varchar(50)") .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.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.QualificationType) .HasColumnType("varchar(30)") .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.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.SignUrl) .HasColumnType("varchar(1000)") .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.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.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.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"); }); modelBuilder.Entity(entity => { entity.HasComment("商家管理员"); 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.HasComment("商户实名信息"); 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.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.HasComment("商家商品分类"); 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.HasComment("店铺评价"); 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.AgentNo) .IsRequired() .HasColumnType("varchar(30)") .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.DepositAmount) .HasColumnType("decimal(18,2)") .HasComment("押金金额"); entity.Property(e => e.MerNo) .IsRequired() .HasColumnType("varchar(50)") .HasComment("商户编号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NoticeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("推送标记"); entity.Property(e => e.OrderId) .IsRequired() .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.SnNo) .IsRequired() .HasColumnType("varchar(50)") .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.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("创客"); 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.BankCardNo) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BankName) .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.PayKind).HasColumnType("int(11)"); 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.HasKey(e => e.Code) .HasName("PRIMARY"); entity.HasComment("商户编号为主键的关联表"); 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.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.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.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.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.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.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.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.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.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.HasComment("商户返利明细"); 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.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.HasComment("手机验证码"); 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.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.MsgId) .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.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("创客"); 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.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.HasComment("推送消息记录"); 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.HasComment("发送短信记录"); 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.HasComment("发送短信配置"); 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.HasComment("消息模板"); 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.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.HasComment("开机机具快照"); 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.HasComment("操作日志"); 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.HasComment("操作权限"); 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.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.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.Rank) .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("用户"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); 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 => new { e.StoreId, e.UserId, e.ParentOrderId, e.CreateDate }) .HasName("OrdersIndex"); 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.HasComment("单页内容"); 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.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.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.CardType) .HasColumnType("int(11)") .HasDefaultValueSql("'2'") .HasComment("卡类型"); 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.DownFee) .HasColumnType("decimal(18,2)") .HasComment("费率调降值"); 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.FirstFlag) .HasColumnType("int(11)") .HasComment("首个标记"); entity.Property(e => e.IsExecute) .HasColumnType("int(11)") .HasComment("是否执行首个标记"); entity.Property(e => e.IsFirst).HasColumnType("int(11)"); entity.Property(e => e.IsOpAct) .HasColumnType("int(11)") .HasComment("补激活奖标记"); entity.Property(e => e.IsPurchase).HasColumnType("int(11)"); entity.Property(e => e.IsSupplement) .HasColumnType("int(11)") .HasComment("补录标记"); entity.Property(e => e.IsVip) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LastMerchantId) .HasColumnType("int(11)") .HasComment("最后一次绑定商户号"); 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.OutBatchNo) .HasColumnType("varchar(50)") .HasComment("出库批次号") .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.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"); entity.Property(e => e.WithholdFlag) .HasColumnType("int(11)") .HasComment("预扣标记"); }); 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.NoticeFlag) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("推送标记"); 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.HasIndex(e => new { e.FromUserId, e.ToUserId, e.SnId }) .HasName("PreSendStockDetailIndex"); 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"); entity.Property(e => e.WithholdFlag) .HasColumnType("int(11)") .HasComment("预扣标记"); }); modelBuilder.Entity(entity => { entity.HasComment("商品评价"); 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.HasComment("商品评价点赞记录"); 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.HasComment("运费按区域"); 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.HasComment("商品运费模板"); 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.HasComment("商品关键词库"); 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.StartBuyCount).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.HasComment("商品规格模板"); 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.BannerPhoto) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BannerSort).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.IsBanner) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); 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.ProductKind).HasColumnType("int(11)"); 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.StartBuyCount).HasColumnType("int(11)"); 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,2)"); entity.Property(e => e.DebitPercents).HasColumnType("decimal(18,2)"); 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.HasComment("分账记录"); 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.HasComment("分账接收方"); 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.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.BeforeRank) .HasColumnType("int(11)") .HasComment("创客存量预设职级"); 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.CreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量贷记卡交易额"); entity.Property(e => e.CreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量贷记卡分润"); entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量借记卡交易额"); entity.Property(e => e.DebitTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.DebitTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量借记卡分润"); 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.HelpCreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付扶持期贷记卡交易额"); entity.Property(e => e.HelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.HelpCreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付扶持期贷记卡分润"); entity.Property(e => e.LeaderRank) .HasColumnType("int(11)") .HasComment("盟主预设职级"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MaxRank) .HasColumnType("int(11)") .HasComment("最大职级"); entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrCreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付贷记卡交易额"); entity.Property(e => e.NonQrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NonQrCreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付贷记卡分润"); entity.Property(e => e.NotHelpCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付稳定期贷记卡交易额"); entity.Property(e => e.NotHelpCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.NotHelpCreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付稳定期贷记卡分润"); entity.Property(e => e.OperateRank) .HasColumnType("int(11)") .HasComment("运营中心预设职级"); entity.Property(e => e.ProfitCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeAmt2) .HasColumnType("decimal(18,2)") .HasComment("非云闪付盈利期2贷记卡交易额"); entity.Property(e => e.ProfitCreditTradeAmt2Before) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付盈利期2贷记卡交易额"); entity.Property(e => e.ProfitCreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付盈利期贷记卡交易额"); entity.Property(e => e.ProfitCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeProfit2) .HasColumnType("decimal(18,2)") .HasComment("非云闪付盈利期2贷记卡分润"); entity.Property(e => e.ProfitCreditTradeProfit2Before) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付盈利期2贷记卡分润"); entity.Property(e => e.ProfitCreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量非云闪付盈利期贷记卡分润"); entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeAmtBefore) .HasColumnType("decimal(18,2)") .HasComment("存量云闪付贷记卡交易额"); entity.Property(e => e.QrCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.QrCreditTradeProfitBefore) .HasColumnType("decimal(18,2)") .HasComment("存量云闪付贷记卡分润"); 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.ProfitCreditProfitRate2) .HasColumnType("decimal(18,2)") .HasComment("(盈利期2)(非云闪付)贷记卡商户交易对应分润比例"); entity.Property(e => e.ProfitCreditTradeAmt).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeAmt2) .HasColumnType("decimal(18,2)") .HasComment("(盈利期2)(非云闪付)贷记卡交易总金额"); entity.Property(e => e.ProfitCreditTradeProfit).HasColumnType("decimal(18,2)"); entity.Property(e => e.ProfitCreditTradeProfit2) .HasColumnType("decimal(18,2)") .HasComment("(盈利期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.HasComment("拉新活动信息"); 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.HasComment("拉新明细"); 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.BrhName) .HasColumnType("varchar(50)") .HasComment("机构名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrhUserId) .HasColumnType("varchar(50)") .HasComment("机构用户编码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelCode) .HasColumnType("varchar(50)") .HasComment("归属社招渠道编码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ChannelName) .HasColumnType("varchar(50)") .HasComment("归属社招渠道名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.Gender) .HasColumnType("varchar(10)") .HasComment("性别") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdNo) .HasColumnType("varchar(18)") .HasComment("身份证号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.JobId) .HasColumnType("varchar(50)") .HasComment("行销宝工号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.JobStatus) .HasColumnType("varchar(10)") .HasComment("工号状态") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasComment("广电手机号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OpenTime) .HasColumnType("varchar(50)") .HasComment("开通时间") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OprInviteCode) .HasColumnType("varchar(50)") .HasComment("邀请码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OprName) .HasColumnType("varchar(50)") .HasComment("人员姓名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProvincialCompany) .HasColumnType("varchar(50)") .HasComment("归属省公司") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Role) .HasColumnType("varchar(10)") .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.UpdateDate) .HasColumnType("datetime") .HasComment("修改时间"); 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.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.HasKey(e => e.OrderId) .HasName("PRIMARY"); entity.HasComment("推荐王订单"); entity.Property(e => e.OrderId) .HasColumnType("int(11)") .HasComment("订单Id"); }); 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.HasKey(e => e.RefreshToken) .HasName("PRIMARY"); entity.Property(e => e.RefreshToken) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ExpiredDate).HasColumnType("datetime"); entity.Property(e => e.UserName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); 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.BannerPhoto) .HasColumnType("varchar(200)") .HasComment("Banner图例") .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.IsBanner) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'") .HasComment("Banner推荐"); 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.BuyUserId) .HasColumnType("int(11)") .HasComment("机具所属人"); 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.OperateType) .HasColumnType("int(11)") .HasComment("操作类型"); 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.HasComment("结算卡变更记录"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AfterCardNo) .HasColumnType("varchar(30)") .HasComment("修改后结算卡") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BeforeCardNo) .HasColumnType("varchar(30)") .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.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.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.HelpTradeAmount) .HasColumnType("decimal(18,2)") .HasComment("扶持期交易额"); entity.Property(e => e.NotHelpTradeAmount) .HasColumnType("decimal(18,2)") .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.TradeDay) .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.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.ToTable("SIMPosMerchantInfo"); entity.HasComment("广电卡商户信息"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActAmount) .HasColumnType("decimal(18,2)") .HasComment("实付金额"); entity.Property(e => e.ActStatusName) .HasColumnType("varchar(50)") .HasComment("激活状态名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ActiveStatus) .HasColumnType("int(11)") .HasComment("商户激活状态"); entity.Property(e => e.ActivityName) .HasColumnType("varchar(50)") .HasComment("促销活动名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BrandId) .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.DirectUserId) .HasColumnType("int(11)") .HasComment("直属创客编号"); entity.Property(e => e.EmployeeName) .HasColumnType("varchar(50)") .HasComment("员工姓名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EmployeeNo) .HasColumnType("varchar(50)") .HasComment("员工工号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqMerNo) .HasColumnType("varchar(32)") .HasComment("渠道商户编码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.KqSnNo) .HasColumnType("varchar(32)") .HasComment("渠道SN号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerIdcardNo) .HasColumnType("varchar(18)") .HasComment("商户身份证号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerRealName) .HasColumnType("varchar(16)") .HasComment("商户真实姓名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerStandardDate) .HasColumnType("datetime") .HasComment("商户激活时间"); entity.Property(e => e.MerStatus) .HasColumnType("int(11)") .HasComment("商户状态"); entity.Property(e => e.MerUserId) .HasColumnType("int(11)") .HasComment("商户创客"); entity.Property(e => e.MerUserType) .HasColumnType("int(11)") .HasComment("商户创客类型"); entity.Property(e => e.MerchantMobile) .HasColumnType("varchar(11)") .HasComment("商户手机号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantName) .HasColumnType("varchar(32)") .HasComment("商户姓名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantNo) .HasColumnType("varchar(16)") .HasComment("商户编号") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MgrName) .HasColumnType("varchar(32)") .HasComment("渠道经理姓名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductName) .HasColumnType("varchar(50)") .HasComment("商品名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProductTypeName) .HasColumnType("varchar(50)") .HasComment("商品类型名称") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount) .HasColumnType("int(11)") .HasComment("点击量"); entity.Property(e => e.Remark) .HasColumnType("varchar(64)") .HasComment("备注") .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.SnStoreId) .HasColumnType("int(11)") .HasComment("SN仓库"); entity.Property(e => e.SnType) .HasColumnType("int(11)") .HasComment("机具类型"); entity.Property(e => e.Sort) .HasColumnType("int(11)") .HasComment("排序序号"); entity.Property(e => e.StandardMonths) .HasColumnType("int(11)") .HasComment("退押达标月"); entity.Property(e => e.StandardStatus) .HasColumnType("int(11)") .HasComment("退押达标状态"); entity.Property(e => e.Status) .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TopUserId) .HasColumnType("int(11)") .HasComment("顶级创客"); entity.Property(e => e.Type) .HasColumnType("int(11)") .HasDefaultValueSql("'3'") .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("创客"); 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("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.HasComment("仓库订单汇总"); 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.HasComment("兑换机具记录"); 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.HasComment("后台管理员"); 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.HasComment("后台管理员角色"); 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.HasComment("系统设置"); 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.HasKey(e => e.TableName) .HasName("PRIMARY"); entity.HasComment("表优化配置"); entity.Property(e => e.TableName) .HasColumnType("varchar(50)") .HasComment("表名") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.EndId) .HasColumnType("int(11)") .HasComment("结束Id"); entity.Property(e => e.StartId) .HasColumnType("int(11)") .HasComment("开始Id"); }); modelBuilder.Entity(entity => { entity.HasComment("开团申请"); 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.HasComment("团队名称为主键的关联表"); 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.HasComment("团队编号为主键的关联表"); 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.HasComment("开团黑名单"); 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.HasComment("开团配置"); 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.HasComment("特训营团队排行榜"); 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.HasComment("参团申请"); 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.HasComment("特训营个人排行榜"); 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.MakerCode) .HasName("PRIMARY"); entity.Property(e => e.MakerCode) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BuyDate).HasColumnType("datetime"); entity.Property(e => e.LevelString) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.RealName) .HasColumnType("varchar(20)") .HasCharSet("latin1") .HasCollation("latin1_swedish_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); 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.Kind) .HasColumnType("int(11)") .HasComment("待扣类别"); 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.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TimeNumber).HasColumnType("int(11)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); 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.ChargeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.Kind) .HasColumnType("int(11)") .HasComment("待扣类别"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); 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.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TimeNumber).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.ChargeAmount).HasColumnType("decimal(18,2)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.Kind) .HasColumnType("int(11)") .HasComment("待扣类别"); 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.StartDate).HasColumnType("datetime"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.TimeNumber).HasColumnType("int(11)"); entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)"); 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.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.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayType) .HasColumnType("int(11)") .HasComment("支付方式"); entity.Property(e => e.ProfitDebitCapNum) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总数(盈利期)"); entity.Property(e => e.ProfitDebitCapTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总金额(盈利期)"); entity.Property(e => e.ProfitDebitTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡交易总额(盈利期)"); entity.Property(e => e.ProfitTradeAmt) .HasColumnType("decimal(18,2)") .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.TopUserId) .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.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); entity.Property(e => e.VipFlag) .HasColumnType("int(11)") .HasComment("会员标记"); }); 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.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayType) .HasColumnType("int(11)") .HasComment("支付方式"); entity.Property(e => e.ProfitDebitCapNum) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总数(盈利期)"); entity.Property(e => e.ProfitDebitCapTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总金额(盈利期)"); entity.Property(e => e.ProfitDebitTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡交易总额(盈利期)"); entity.Property(e => e.ProfitTradeAmt) .HasColumnType("decimal(18,2)") .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.TopUserId) .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.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); entity.Property(e => e.VipFlag) .HasColumnType("int(11)") .HasComment("会员标记"); }); 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.CreateMan) .HasColumnType("varchar(50)") .HasComment("创建人") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayType) .HasColumnType("int(11)") .HasComment("支付方式"); entity.Property(e => e.ProfitDebitCapNum) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总数(盈利期)"); entity.Property(e => e.ProfitDebitCapTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡封顶交易总金额(盈利期)"); entity.Property(e => e.ProfitDebitTradeAmt) .HasColumnType("decimal(18,2)") .HasComment("直营商户借记卡交易总额(盈利期)"); entity.Property(e => e.ProfitTradeAmt) .HasColumnType("decimal(18,2)") .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.TopUserId) .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.UserId) .HasColumnType("int(11)") .HasComment("创客"); entity.Property(e => e.Version) .HasColumnType("int(11)") .HasComment("版本号"); entity.Property(e => e.VipFlag) .HasColumnType("int(11)") .HasComment("会员标记"); }); 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.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.HasIndex(e => new { e.BrandId, e.UserId, e.MerchantId, e.MerNo, e.SnNo, e.CreateDate }) .HasName("TradeRecordIndex"); 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.StatStatus) .HasColumnType("int(11)") .HasComment("统计标记"); 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.LeaderToChargeAmount) .HasColumnType("decimal(18,2)") .HasComment("盟主待扣金额"); entity.Property(e => e.LockStatus).HasColumnType("int(11)"); entity.Property(e => e.OperateToChargeAmount) .HasColumnType("decimal(18,2)") .HasComment("运营中心待扣金额"); 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.HasComment("创客账户变动记录"); 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.Kind).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.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.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.HasComment("反馈类型"); 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.HasComment("创客收益排行"); 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.HasComment("创客购物车"); 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.HasComment("会员卡"); 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.HasComment("会员卡领取记录"); 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.HasComment("直营团队提现记录"); 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.HasComment("个人中心常用工具"); 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.HasComment("收藏"); 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.HasComment("创客详细信息"); 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.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.ExchangeType) .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.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.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.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.HasComment("创客姓名为主键的关联表"); 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.HasComment("创客分组"); 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.HasComment("创客登录记录"); 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.HasComment("创客商城提大货SN"); 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.HasKey(e => e.UserId) .HasName("PRIMARY"); entity.HasComment("创客迁移字段表"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客Id"); entity.Property(e => e.LoginPwd) .HasColumnType("varchar(50)") .HasComment("登录密码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PayPwd) .HasColumnType("varchar(50)") .HasComment("支付密码") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateTime) .HasColumnType("datetime") .HasComment("更新时间"); }); modelBuilder.Entity(entity => { entity.HasComment("创客线下签到记录"); 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.HasComment("创客预设分润"); 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.HasComment("创客分润补贴月汇总"); 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.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.HasComment("返利明细表"); 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.HasComment("广电卡激活数统计"); entity.HasIndex(e => new { e.UserId, e.Kind }) .HasName("UserSimActSummaryIndex"); entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ActCount) .HasColumnType("int(11)") .HasComment("激活数"); entity.Property(e => e.CreateDate) .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.Kind) .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.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.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.HasIndex(e => e.QueryCount) .HasName("UserSnDelayChangeIndex"); 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.HasComment("循环返风控明细信息"); 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.HasComment("创客循环返风控月汇总"); 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.HasComment("创客年终总结"); entity.Property(e => e.Id) .HasColumnName("id") .HasColumnType("int(11)"); entity.Property(e => e.CreateDate) .HasColumnName("create_date") .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.InComeByYear) .HasColumnType("decimal(18,2)") .HasComment("年度团队交易额"); entity.Property(e => e.ParentNav) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentUserId) .HasColumnType("int(11)") .HasComment("上级创客Id"); entity.Property(e => e.Sort) .HasColumnName("sort") .HasColumnType("int(11)") .HasComment("排序序号"); entity.Property(e => e.Status) .HasColumnName("status") .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TradeYear) .HasColumnType("varchar(50)") .HasComment("统计年份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate) .HasColumnName("update_date") .HasColumnType("datetime") .HasComment("修改时间"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客Id"); entity.Property(e => e.Version) .HasColumnName("version") .HasColumnType("int(11)") .HasComment("版本号"); }); modelBuilder.Entity(entity => { entity.HasComment("创客年终总结"); entity.Property(e => e.Id) .HasColumnName("id") .HasColumnType("int(11)"); entity.Property(e => e.CreateDate) .HasColumnName("create_date") .HasColumnType("datetime") .HasComment("创建时间"); entity.Property(e => e.EightMillionTradeAmountUserCount) .HasColumnType("int(11)") .HasComment("直属新增八百万以上业绩人数"); entity.Property(e => e.FifteenMillionTradeAmountUserCount) .HasColumnType("int(11)") .HasComment("直属新增一千五百万以上业绩人数"); entity.Property(e => e.JuniorShareHolder) .HasColumnType("int(11)") .HasComment("团队新增初级股东"); entity.Property(e => e.MiddleShareHolder) .HasColumnType("int(11)") .HasComment("团队新增中级股东"); 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.PersonalMakerAddByYear) .HasColumnType("int(11)") .HasComment("年度个人新增团队成员"); entity.Property(e => e.PersonalTradeAmountByYear) .HasColumnType("decimal(18,2)") .HasComment("年度直推累计总收入"); entity.Property(e => e.SeniorShareHolder) .HasColumnType("int(11)") .HasComment("团队新增高级股东"); entity.Property(e => e.Sort) .HasColumnName("sort") .HasColumnType("int(11)") .HasComment("排序序号"); entity.Property(e => e.Status) .HasColumnName("status") .HasColumnType("int(11)") .HasComment("状态"); entity.Property(e => e.TeamMerchantActCountByYear) .HasColumnType("int(11)") .HasComment("年度团队商户激活数"); entity.Property(e => e.TeamTotalMakerByYear) .HasColumnType("int(11)") .HasComment("年度累计团队人数"); entity.Property(e => e.TeamTradeAmountByYear) .HasColumnType("decimal(18,2)") .HasComment("年度团队交易额"); entity.Property(e => e.ThreeMillionTradeAmountUserCount) .HasColumnType("int(11)") .HasComment("直属新增三百万以上业绩人数"); entity.Property(e => e.TradeYear) .HasColumnType("varchar(50)") .HasComment("统计年份") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate) .HasColumnName("update_date") .HasColumnType("datetime") .HasComment("修改时间"); entity.Property(e => e.UserId) .HasColumnType("int(11)") .HasComment("创客Id"); entity.Property(e => e.Version) .HasColumnName("version") .HasColumnType("int(11)") .HasComment("版本号"); }); 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.BusinessLogo) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.BusinessName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); 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.LogOutDate) .HasColumnType("datetime") .HasComment("注销时间"); 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); } }