From fd865638a82d6691a7904ce1aaccff1e050c7c14 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 09 七月 2021 13:18:02 +0800
Subject: [PATCH] 订单管理: 订单数量默认1 列表 订单类别 显示三级 收货人默认客户资料的收货人 订单批量打印  打印需要批量打印 回访:需要增加 接待人,回访情况,用户评价.客户意见, 送货。 送货公司,单号,时间

---
 zhengcaioa/Model/zhengcaioaContext.cs |   65 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs
index cda5db5..ec20a40 100644
--- a/zhengcaioa/Model/zhengcaioaContext.cs
+++ b/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");

--
Gitblit v1.9.1