| | |
| | | { |
| | | public zhengcaioaContext() |
| | | { |
| | | this.Database.SetCommandTimeout(60); |
| | | } |
| | | |
| | | public zhengcaioaContext(DbContextOptions<zhengcaioaContext> options) |
| | |
| | | public virtual DbSet<CooperVisit> CooperVisits { get; set; } |
| | | public virtual DbSet<CooperatecustomCustomer> CooperatecustomCustomers { get; set; } |
| | | public virtual DbSet<CustomerYwjl> CustomerYwjls { get; set; } |
| | | public virtual DbSet<CustomerGuanlianhuiyuan> CustomerGuanlianhuiyuans { get; set; } |
| | | public virtual DbSet<CustomerGuanlian> CustomerGuanlians { get; set; } |
| | | public virtual DbSet<CusFangwenjilu> CusFangwenjilus { get; set; } |
| | | public virtual DbSet<FiAccount> FiAccounts { get; set; } |
| | |
| | | public virtual DbSet<OrderBanci> OrderBancis { get; set; } |
| | | public virtual DbSet<OrderBanciDtl> OrderBanciDtls { get; set; } |
| | | public virtual DbSet<OrderBanciOrder> OrderBanciOrders { get; set; } |
| | | public virtual DbSet<OrderBanciZuowei> OrderBanciZuoweis { get; set; } |
| | | public virtual DbSet<PltAuth> PltAuths { get; set; } |
| | | public virtual DbSet<PltPage> PltPages { get; set; } |
| | | public virtual DbSet<PltRole> PltRoles { get; set; } |
| | |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("weixintime"); |
| | | |
| | | entity.Property(e => e.Kuaidistatus) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("kuaidistatus"); |
| | | |
| | | entity.Property(e => e.Kuaiditime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("kuaiditime"); |
| | | |
| | | entity.Property(e => e.Ywjltime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("ywjltime"); |
| | |
| | | entity.Property(e => e.YwjlId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("ywjlId"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<CustomerGuanlianhuiyuan>(entity => |
| | | { |
| | | entity.ToTable("CustomerGuanlianhuiyuan"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Customerid) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("customerid"); |
| | | |
| | | entity.Property(e => e.Customertype) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("customertype"); |
| | | |
| | | entity.Property(e => e.Huiyuanid) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("huiyuanid"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<CustomerGuanlian>(entity => |
| | |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("weixintime"); |
| | | |
| | | entity.Property(e => e.Kuaidistatus) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("kuaidistatus"); |
| | | |
| | | entity.Property(e => e.Kuaiditime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("kuaiditime"); |
| | | |
| | | entity.Property(e => e.Ywjltime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("ywjltime"); |
| | |
| | | entity.Property(e => e.Renshu) |
| | | .HasColumnName("renshu"); |
| | | |
| | | entity.Property(e => e.Hang) |
| | | .HasColumnName("hang"); |
| | | |
| | | entity.Property(e => e.Lie) |
| | | .HasColumnName("lie"); |
| | | |
| | | entity.Property(e => e.Fenzu) |
| | | .HasColumnName("Fenzu"); |
| | | |
| | | entity.Property(e => e.BannerId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("BannerId"); |
| | | |
| | | entity.Property(e => e.Shijian) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("shijian"); |
| | |
| | | .HasColumnType("money") |
| | | .HasColumnName("jifen"); |
| | | |
| | | entity.Property(e => e.SeatID) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("SeatID"); |
| | | |
| | | entity.Property(e => e.SeatName) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("SeatName"); |
| | | |
| | | entity.Property(e => e.Kechengleixing) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("kechengleixing"); |
| | |
| | | .HasColumnName("xuefei"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<OrderBanciZuowei>(entity => |
| | | { |
| | | entity.ToTable("order_banci_zuowei"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.BanciId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("banciId"); |
| | | |
| | | entity.Property(e => e.ColNo).HasColumnName("colNo"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.RowNo).HasColumnName("rowNo"); |
| | | |
| | | entity.Property(e => e.SeatNo) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("seatNo"); |
| | | |
| | | entity.Property(e => e.Status) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("status"); |
| | | |
| | | entity.Property(e => e.ZuoweiId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("zuoweiId"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<PltAuth>(entity => |
| | | { |
| | | entity.ToTable("plt_auth"); |