From 06e75f18b5b3b0fbfd25731c8b7324cc42df045f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 07 七月 2021 17:15:30 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/Model/zhengcaioaContext.cs |  285 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 277 insertions(+), 8 deletions(-)

diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs
index 41132d1..cda5db5 100644
--- a/zhengcaioa/Model/zhengcaioaContext.cs
+++ b/zhengcaioa/Model/zhengcaioaContext.cs
@@ -67,9 +67,13 @@
         public virtual DbSet<IntentionCustomer> IntentionCustomers { get; set; }
         public virtual DbSet<IntentionOrder> IntentionOrders { get; set; }
         public virtual DbSet<IntentionVisit> IntentionVisits { get; set; }
+        public virtual DbSet<IntentionVisitDuanxin> IntentionVisitDuanxins { get; set; }
         public virtual DbSet<Liaotian> Liaotians { get; set; }
         public virtual DbSet<LZhuanjiahuidum> LZhuanjiahuida { get; set; }
         public virtual DbSet<Oayouhui> Oayouhuis { 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<PltAuth> PltAuths { get; set; }
         public virtual DbSet<PltPage> PltPages { get; set; }
         public virtual DbSet<PltRole> PltRoles { get; set; }
@@ -1684,6 +1688,10 @@
                     .HasColumnName("sheng")
                     .HasComment("鐪�");
 
+                entity.Property(e => e.Shifoutianjiaweixin)
+                    .HasMaxLength(1)
+                    .HasColumnName("shifoutianjiaweixin");
+
                 entity.Property(e => e.ShrAddress)
                     .HasMaxLength(500)
                     .HasColumnName("shr_address")
@@ -1708,6 +1716,10 @@
                     .HasMaxLength(500)
                     .HasColumnName("url")
                     .HasComment("缃戝潃");
+
+                entity.Property(e => e.Weixin)
+                    .HasMaxLength(50)
+                    .HasColumnName("weixin");
 
                 entity.Property(e => e.YwName)
                     .HasMaxLength(500)
@@ -2172,7 +2184,7 @@
                     .HasComment("浼氳垂");
 
                 entity.Property(e => e.MemberAuthority)
-                    .HasMaxLength(100)
+                    .HasMaxLength(500)
                     .HasColumnName("member_authority")
                     .HasComment("浼氬憳鏉冮檺");
 
@@ -3000,6 +3012,10 @@
                     .HasColumnName("sheng")
                     .HasComment("鐪�");
 
+                entity.Property(e => e.Shifoutianjiaweixin)
+                    .HasMaxLength(1)
+                    .HasColumnName("shifoutianjiaweixin");
+
                 entity.Property(e => e.ShrAddress)
                     .HasMaxLength(500)
                     .HasColumnName("shr_address")
@@ -3024,6 +3040,10 @@
                     .HasMaxLength(500)
                     .HasColumnName("url")
                     .HasComment("缃戝潃");
+
+                entity.Property(e => e.Weixin)
+                    .HasMaxLength(50)
+                    .HasColumnName("weixin");
 
                 entity.Property(e => e.Yixiang).HasMaxLength(50);
 
@@ -3147,6 +3167,10 @@
                     .HasColumnName("createtime")
                     .HasDefaultValueSql("(getdate())");
 
+                entity.Property(e => e.DuanxinNeirong)
+                    .HasMaxLength(500)
+                    .HasColumnName("duanxin_neirong");
+
                 entity.Property(e => e.Jdr)
                     .HasMaxLength(500)
                     .HasColumnName("jdr")
@@ -3214,6 +3238,49 @@
                     .HasMaxLength(50)
                     .HasColumnName("zw")
                     .HasComment("鑱屽姟");
+            });
+
+            modelBuilder.Entity<IntentionVisitDuanxin>(entity =>
+            {
+                entity.ToTable("IntentionVisit_duanxin");
+
+                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.DuanxinNeirong)
+                    .HasMaxLength(500)
+                    .HasColumnName("duanxin_neirong");
+
+                entity.Property(e => e.DuanxinTitle)
+                    .HasMaxLength(50)
+                    .HasColumnName("duanxin_title");
+
+                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<Liaotian>(entity =>
@@ -3390,6 +3457,205 @@
                 entity.Property(e => e.Youtype)
                     .HasMaxLength(50)
                     .HasComment("浼樻儬绫诲瀷");
+            });
+
+            modelBuilder.Entity<OrderBanci>(entity =>
+            {
+                entity.ToTable("order_banci");
+
+                entity.Property(e => e.Id).HasMaxLength(50);
+
+                entity.Property(e => e.Mingcheng)
+                    .HasMaxLength(100)
+                    .HasColumnName("mingcheng");
+
+                entity.Property(e => e.Banci)
+                   .HasMaxLength(100)
+                   .HasColumnName("banci");
+
+                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.Didian)
+                    .HasMaxLength(500)
+                    .HasColumnName("didian");
+
+                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.Renshu)
+                    .HasColumnName("renshu");
+
+                entity.Property(e => e.Shijian)
+                    .HasColumnType("datetime")
+                    .HasColumnName("shijian");
+
+                entity.Property(e => e.Shijianend)
+                    .HasColumnType("datetime")
+                    .HasColumnName("shijianend");
+            });
+
+            modelBuilder.Entity<OrderBanciDtl>(entity =>
+            {
+                entity.ToTable("order_banci_dtl");
+
+                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.Modifier)
+                    .IsRequired()
+                    .HasMaxLength(50)
+                    .HasColumnName("modifier")
+                    .HasDefaultValueSql("('1')");
+
+                entity.Property(e => e.Modifytime)
+                    .HasColumnType("datetime")
+                    .HasColumnName("modifytime")
+                    .HasDefaultValueSql("(getdate())");
+
+                entity.Property(e => e.OrderBanciId)
+                    .HasMaxLength(50)
+                    .HasColumnName("order_banci_id");
+
+                entity.Property(e => e.RecStatus)
+                    .IsRequired()
+                    .HasMaxLength(1)
+                    .HasColumnName("rec_status")
+                    .HasDefaultValueSql("('A')");
+
+                entity.Property(e => e.Shangxiawu)
+                    .HasMaxLength(100)
+                    .HasColumnName("shangxiawu");
+
+                entity.Property(e => e.Shijian)
+                    .HasMaxLength(100)
+                    .HasColumnName("shijian");
+
+                entity.Property(e => e.Shixiamg)
+                    .HasMaxLength(500)
+                    .HasColumnName("shixiamg");
+
+                entity.Property(e => e.Sort)
+                    .HasColumnName("sort")
+                    .HasDefaultValueSql("((0))");
+
+                entity.Property(e => e.Zhujiangren)
+                    .HasMaxLength(100)
+                    .HasColumnName("zhujiangren");
+            });
+
+            modelBuilder.Entity<OrderBanciOrder>(entity =>
+            {
+                entity.ToTable("order_banci_order");
+
+                entity.Property(e => e.Id).HasMaxLength(50);
+
+                entity.Property(e => e.BanciId)
+                    .HasMaxLength(50)
+                    .HasColumnName("banci_id");
+
+                entity.Property(e => e.Baomingrenshu).HasColumnName("baomingrenshu");
+
+                entity.Property(e => e.Baomingtime)
+                    .HasColumnType("datetime")
+                    .HasColumnName("baomingtime");
+
+                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.Jine)
+                    .HasColumnType("money")
+                    .HasColumnName("jine");
+
+                entity.Property(e => e.Kechengleixing)
+                    .HasMaxLength(100)
+                    .HasColumnName("kechengleixing");
+
+                entity.Property(e => e.KechengleixingId)
+                    .HasMaxLength(50)
+                    .HasColumnName("kechengleixing_id");
+
+                entity.Property(e => e.Lianxidianhua)
+                    .HasMaxLength(100)
+                    .HasColumnName("lianxidianhua");
+
+                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.Peixunbanci)
+                    .HasMaxLength(100)
+                    .HasColumnName("peixunbanci");
+
+                entity.Property(e => e.PersonId)
+                    .HasMaxLength(100)
+                    .HasColumnName("person_id");
+
+                entity.Property(e => e.RecStatus)
+                    .IsRequired()
+                    .HasMaxLength(1)
+                    .HasColumnName("rec_status")
+                    .HasDefaultValueSql("('A')");
+
+                entity.Property(e => e.Shenfenzheng)
+                  .HasMaxLength(100)
+                  .HasColumnName("shenfenzheng");
+
+                entity.Property(e => e.Xingming)
+                    .HasMaxLength(100)
+                    .HasColumnName("xingming");
+
+                entity.Property(e => e.Xuefei)
+                    .HasColumnType("money")
+                    .HasColumnName("xuefei");
             });
 
             modelBuilder.Entity<PltAuth>(entity =>
@@ -4006,6 +4272,7 @@
                     .HasMaxLength(50)
                     .HasColumnName("userId");
             });
+
             modelBuilder.Entity<Project>(entity =>
             {
                 entity.ToTable("Project");
@@ -4075,21 +4342,21 @@
                     .HasMaxLength(500)
                     .HasColumnName("drhx");
 
-                entity.Property(e => e.DrhxPrice)
-                    .HasMaxLength(500)
-                    .HasColumnName("drhx_price");
-
                 entity.Property(e => e.DrhxDefen)
                     .HasColumnType("money")
                     .HasColumnName("drhx_defen");
 
-                entity.Property(e => e.DshxDefen)
-                   .HasColumnType("money")
-                   .HasColumnName("dshx_defen");
+                entity.Property(e => e.DrhxPrice)
+                    .HasMaxLength(500)
+                    .HasColumnName("drhx_price");
 
                 entity.Property(e => e.Dshx)
                     .HasMaxLength(500)
                     .HasColumnName("dshx");
+
+                entity.Property(e => e.DshxDefen)
+                    .HasColumnType("money")
+                    .HasColumnName("dshx_defen");
 
                 entity.Property(e => e.DshxPrice)
                     .HasMaxLength(500)
@@ -4103,6 +4370,8 @@
                     .HasMaxLength(100)
                     .HasColumnName("feibiaocishu");
 
+                entity.Property(e => e.Fencha).HasColumnType("money");
+
                 entity.Property(e => e.Modifier)
                     .IsRequired()
                     .HasMaxLength(50)

--
Gitblit v1.9.1