using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace MySystem.Models { public partial class WebCMSEntities : DbContext { public WebCMSEntities() { } public WebCMSEntities(DbContextOptions options) : base(options) { } public virtual DbSet Advertisment { get; set; } public virtual DbSet ApiVersion { get; set; } public virtual DbSet AppBottomNavs { get; set; } public virtual DbSet AppVersion { get; set; } public virtual DbSet Col { get; set; } public virtual DbSet ColForEnName { get; set; } public virtual DbSet CustomTagSet { get; set; } public virtual DbSet Developers { get; set; } public virtual DbSet FileUpdateInfo { get; set; } public virtual DbSet MobileCodeCheck { get; set; } public virtual DbSet PageInfo { get; set; } public virtual DbSet PageUpdateInfo { get; set; } public virtual DbSet ProjectForDevelop { get; set; } public virtual DbSet ProjectVersion { get; set; } public virtual DbSet Projects { get; set; } public virtual DbSet PublicAccountSet { get; set; } public virtual DbSet RightDic { get; set; } public virtual DbSet StatusForTables { get; set; } public virtual DbSet SysAdmin { get; set; } public virtual DbSet SysAdminRole { get; set; } public virtual DbSet SysLog { get; set; } public virtual DbSet SystemSet { get; set; } public virtual DbSet UploadParams { get; set; } public virtual DbSet UserData { get; set; } public virtual DbSet UserDetail { get; set; } public virtual DbSet UserFamilyMember { get; set; } public virtual DbSet UserForMobile { get; set; } public virtual DbSet UserForProject { get; set; } public virtual DbSet UserFriend { get; set; } public virtual DbSet UserGroup { get; set; } public virtual DbSet UserLevelSet { get; set; } public virtual DbSet UserOfflineSignInRecords { get; set; } public virtual DbSet Users { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { if (!optionsBuilder.IsConfigured) { optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["SqlConnStr"].ToString(), x => x.ServerVersion("5.7.17-mysql")); } } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PicPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Title) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.ApiKey) .HasName("PRIMARY"); entity.Property(e => e.ApiKey) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Timestamp).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.NoPageHint) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormalIcon) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.NormalTextColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PageName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SelectIcon) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SelectTextColor) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.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.VersionNo).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("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.ClassName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColDetail) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColEnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColEnNav) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColId) .HasColumnType("varchar(30)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColPicPath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Contents) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DetailTemp) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.DetailTempM) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListPageCount).HasColumnType("int(11)"); entity.Property(e => e.ListTemp) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ListTempM) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ParentId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.Recommend) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Url) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.EnName) .HasName("PRIMARY"); entity.Property(e => e.EnName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ColId).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.VersionNo).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.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.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.UserId).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FileName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Path) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Version).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.Mobile) .HasName("PRIMARY"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CheckCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CheckCodeTime).HasColumnType("datetime"); entity.Property(e => e.CheckNo) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.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.ModuleId).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.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.VersionNo).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.VersionNo).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.DeveloperId).HasColumnType("int(11)"); entity.Property(e => e.ProjectId).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.VersionNo).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.DeveloperId).HasColumnType("int(11)"); entity.Property(e => e.FilePath) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProjectId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.ReturnNote) .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.UpdateNote) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.VerNum) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppIv) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AuthCode) .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.ProjectContent) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProjectDetail) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ProjectName) .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.VersionNo).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.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.ErpApiUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ErpAppCode) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MeiQiaAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MobAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MobAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqAndroidAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqAndroidAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqIosAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QqIosAppKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ServerIp) .HasColumnType("varchar(15)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiDefaultTemplate) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiPwd) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiSign) .HasColumnType("varchar(10)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SmsApiUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMchId) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMiniAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatMiniAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatOpenAppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatOpenAppSecret) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WeChatPayKey) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id) .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.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.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .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.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.ValueNumber).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AdminName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Email) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.LastLoginDate).HasColumnType("datetime"); 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) .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.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.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.RightInfo) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).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.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.TempPath) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.TempPathM) .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.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.VersionNo).HasColumnType("int(11)"); entity.Property(e => e.WebName) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebStatCode) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.WebUrl) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.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.VersionNo).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.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.ToCommentOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToPayOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToReceiveOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToRefundOrderCount).HasColumnType("int(11)"); entity.Property(e => e.ToSendOrderCount).HasColumnType("int(11)"); entity.Property(e => e.TotalOrderMoney).HasColumnType("decimal(18,2)"); entity.Property(e => e.TotalUseIntegral).HasColumnType("decimal(18,2)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AddMan).HasColumnType("int(11)"); entity.Property(e => e.Birthday).HasColumnType("datetime"); entity.Property(e => e.CardAddAddress).HasColumnType("int(11)"); entity.Property(e => e.CardExpireDate).HasColumnType("datetime"); entity.Property(e => e.EduLevel).HasColumnType("int(11)"); entity.Property(e => e.Email) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.FamilyIncome).HasColumnType("int(11)"); entity.Property(e => e.Interests) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Note) .HasColumnType("longtext") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.OfficePhone) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PostalCode) .HasColumnType("varchar(6)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PrivatePhone) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.ToShopDate).HasColumnType("datetime"); entity.Property(e => e.TrafficTool).HasColumnType("int(11)"); entity.Property(e => e.UpdateMan).HasColumnType("int(11)"); entity.Property(e => e.UserJob).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IdCardNo) .HasColumnType("varchar(18)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Job).HasColumnType("int(11)"); entity.Property(e => e.MemberKind).HasColumnType("int(11)"); entity.Property(e => e.Mobile) .HasColumnType("varchar(11)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).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.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.AppId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.OpenId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.PlateformUserId).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.Token) .HasColumnType("varchar(32)") .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.FriendId).HasColumnType("int(11)"); entity.Property(e => e.UserId).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Details) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Name) .HasColumnType("varchar(20)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.VersionNo).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.VersionNo).HasColumnType("int(11)"); }); modelBuilder.Entity(entity => { entity.Property(e => e.Id).HasColumnType("int(11)"); entity.Property(e => e.CreateDate).HasColumnType("datetime"); entity.Property(e => e.CreateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.MerchantId).HasColumnType("int(11)"); entity.Property(e => e.QueryCount).HasColumnType("int(11)"); entity.Property(e => e.SeoDescription) .HasColumnType("varchar(500)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoKeyword) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.SeoTitle) .HasColumnType("varchar(100)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.UpdateDate).HasColumnType("datetime"); entity.Property(e => e.UpdateMan) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.UserId).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).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.AlipayUserId) .HasColumnType("varchar(50)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppId) .HasColumnType("varchar(16)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.AppSecret) .HasColumnType("varchar(32)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.Areas) .HasColumnType("varchar(30)") .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.CertId) .HasColumnType("varchar(18)") .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.GroupId) .HasColumnType("varchar(200)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.HeadPhoto) .HasColumnType("varchar(2000)") .HasCharSet("utf8") .HasCollation("utf8_general_ci"); entity.Property(e => e.IsNewUser) .HasColumnType("bit(1)") .HasDefaultValueSql("b'0'"); entity.Property(e => e.LoginPwd) .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.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.QueryCount).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.Sex).HasColumnType("int(11)"); entity.Property(e => e.Sort).HasColumnType("int(11)"); entity.Property(e => e.Status).HasColumnType("int(11)"); entity.Property(e => e.Tags) .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.UserLevel).HasColumnType("int(11)"); entity.Property(e => e.VersionNo).HasColumnType("int(11)"); }); OnModelCreatingPartial(modelBuilder); } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); } }