zhengcaioa/Model/zhengcaioaContext.cs
@@ -69,6 +69,7 @@
        public virtual DbSet<IntentionVisit> IntentionVisits { get; set; }
        public virtual DbSet<IntentionVisitDuanxin> IntentionVisitDuanxins { get; set; }
        public virtual DbSet<Liaotian> Liaotians { get; set; }
        public virtual DbSet<LiaotianShoucang> LiaotianShoucangs { get; set; }
        public virtual DbSet<LZhuanjiahuidum> LZhuanjiahuida { get; set; }
        public virtual DbSet<Oayouhui> Oayouhuis { get; set; }
        public virtual DbSet<OrderBanci> OrderBancis { get; set; }
@@ -1296,6 +1297,14 @@
                    .HasColumnName("createtime")
                    .HasDefaultValueSql("(getdate())");
                entity.Property(e => e.HuifangJdr)
                    .HasMaxLength(100)
                    .HasColumnName("huifang_jdr");
                entity.Property(e => e.HuifangKehuyijian)
                    .HasMaxLength(500)
                    .HasColumnName("huifang_kehuyijian");
                entity.Property(e => e.HuifangStatus)
                    .HasMaxLength(2)
                    .HasColumnName("huifang_status")
@@ -1422,11 +1431,23 @@
                    .HasColumnName("shr_tel")
                    .HasComment("联系电话");
                entity.Property(e => e.SonghuoDanhao)
                    .HasMaxLength(100)
                    .HasColumnName("songhuo_danhao");
                entity.Property(e => e.SonghuoGongsi)
                    .HasMaxLength(100)
                    .HasColumnName("songhuo_gongsi");
                entity.Property(e => e.SonghuoStatus)
                    .HasMaxLength(2)
                    .HasColumnName("songhuo_status")
                    .HasDefaultValueSql("('D')")
                    .HasComment("送货状态");
                entity.Property(e => e.SonghuoTime1)
                    .HasColumnType("datetime")
                    .HasColumnName("songhuo_time");
                entity.Property(e => e.Songhuoer)
                    .HasMaxLength(50)
@@ -3300,6 +3321,11 @@
                    .HasMaxLength(4000)
                    .HasColumnName("anwser");
                entity.Property(e => e.ChushuStatus)
                   .HasMaxLength(1)
                   .HasColumnName("chushu_status")
                   .HasDefaultValueSql("('D')");
                entity.Property(e => e.Clientid)
                    .HasMaxLength(50)
                    .HasColumnName("clientid");
@@ -3350,6 +3376,45 @@
                    .HasColumnName("shiyongfatiao");
            });
            modelBuilder.Entity<LiaotianShoucang>(entity =>
            {
                entity.ToTable("Liaotian_shoucang");
                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.LiaotianId)
                    .HasMaxLength(50)
                    .HasColumnName("Liaotian_id");
                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<LZhuanjiahuidum>(entity =>
            {
                entity.ToTable("l_zhuanjiahuida");