| | |
| | | public virtual DbSet<CooperOrder> CooperOrders { get; set; } |
| | | public virtual DbSet<CooperVisit> CooperVisits { get; set; } |
| | | public virtual DbSet<CooperatecustomCustomer> CooperatecustomCustomers { get; set; } |
| | | public virtual DbSet<CustomerYwjl> CustomerYwjls { 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<FiAccountRecord> FiAccountRecords { get; set; } |
| | |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("kuanggong"); |
| | | |
| | | entity.Property(e => e.Daixinjia) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("daixinjia") |
| | | .HasDefaultValueSql("(0)"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | |
| | | entity.Property(e => e.Qingjia) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("qingjia"); |
| | | |
| | | entity.Property(e => e.Daixinjia) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("daixinjia") |
| | | .HasDefaultValueSql("(0)"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("weixintime"); |
| | | |
| | | entity.Property(e => e.Ywjltime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("ywjltime"); |
| | | |
| | | entity.Property(e => e.YwName) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("yw_name") |
| | |
| | | entity.Property(e => e.Taocanjianshu) |
| | | .HasColumnType("int") |
| | | .HasColumnName("taocanjianshu"); |
| | | }); |
| | | |
| | | |
| | | modelBuilder.Entity<CustomerYwjl>(entity => |
| | | { |
| | | entity.ToTable("Customer_Ywjl"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime"); |
| | | |
| | | entity.Property(e => e.UserId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("userId"); |
| | | |
| | | entity.Property(e => e.YwjlId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("ywjlId"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<CustomerGuanlian>(entity => |
| | | { |
| | | entity.ToTable("CustomerGuanlian"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.CustomerId).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Customertype).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.SecCustomerId).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.SecCustomertype).HasMaxLength(50); |
| | | }); |
| | | |
| | | modelBuilder.Entity<CusFangwenjilu>(entity => |
| | |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("weixintime"); |
| | | |
| | | entity.Property(e => e.Ywjltime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("ywjltime"); |
| | | |
| | | entity.Property(e => e.Yixiang).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Yixiangtime).HasColumnType("datetime"); |
| | |
| | | |
| | | entity.Property(e => e.HetongDateEnd).HasColumnType("datetime"); |
| | | |
| | | entity.Property(e => e.FenpeiDate).HasColumnType("datetime"); |
| | | |
| | | entity.Property(e => e.ShiyongPrice).HasColumnType("numeric(18, 2)"); |
| | | |
| | | entity.Property(e => e.Tel) |