| | |
| | | { |
| | | 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; } |
| | |
| | | .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"); |