From 1aa53fde5eb18a39c53daf910d69cb857913b08d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 06 七月 2022 15:23:02 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/Model/zhengcaioaContext.cs |  193 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 188 insertions(+), 5 deletions(-)

diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs
index f7cfe57..564d792 100644
--- a/zhengcaioa/Model/zhengcaioaContext.cs
+++ b/zhengcaioa/Model/zhengcaioaContext.cs
@@ -62,6 +62,7 @@
         public virtual DbSet<CusFangwenjilu> CusFangwenjilus { get; set; }
         public virtual DbSet<FiAccount> FiAccounts { get; set; }
         public virtual DbSet<FiAccountRecord> FiAccountRecords { get; set; }
+        public virtual DbSet<FiCustomerrecievemoney> FiCustomerrecievemoneys { get; set; }
         public virtual DbSet<FiOrderrecievemoney> FiOrderrecievemoneys { get; set; }
         public virtual DbSet<FiPiecerate> FiPiecerates { get; set; }
         public virtual DbSet<FiSubject> FiSubjects { get; set; }
@@ -137,12 +138,15 @@
         public virtual DbSet<TComplaintShouquandaibiao> TComplaintShouquandaibiaos { get; set; }
 
 
+        public virtual DbSet<Zxdsfxl> Zxdsfxls { get; set; }
+
+
         protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
         {
             if (!optionsBuilder.IsConfigured)
             {
 #warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
-                optionsBuilder.UseSqlServer("Data Source=.;Initial Catalog=zhengcaioa;User ID=sa;Password=123456");
+                optionsBuilder.UseSqlServer("Data Source=172.26.97.147;Initial Catalog=zhengcaioa;User ID=sa;Password=Za20222812");
             }
         }
 
@@ -2198,6 +2202,18 @@
                     .HasColumnName("money")
                     .HasComment("閲戦");
 
+                entity.Property(e => e.Jichumoney)
+                   .HasColumnType("numeric(18, 2)")
+                   .HasColumnName("jichumoney");
+
+                entity.Property(e => e.Xmcode)
+                   .HasMaxLength(50)
+                   .HasColumnName("xmcode");
+
+                entity.Property(e => e.Xmname)
+                .HasMaxLength(500)
+                .HasColumnName("xmname");
+
                 entity.Property(e => e.OrderNo)
                     .HasMaxLength(100)
                     .HasColumnName("order_no")
@@ -2628,6 +2644,21 @@
                     .HasMaxLength(50)
                     .HasColumnName("ywjl")
                     .HasComment("涓氬姟缁忕悊");
+
+                entity.Property(e => e.Yufukuan)
+                    .HasColumnType("money")
+                    .HasColumnName("yufukuan");
+
+                entity.Property(e => e.Shouxinedu)
+                    .HasColumnType("money")
+                    .HasColumnName("shouxinedu");
+
+                entity.Property(e => e.Shenyushouxin)
+                    .HasColumnType("money")
+                    .HasColumnName("shenyushouxin");
+                entity.Property(e => e.Taocanjianshu)
+                   .HasColumnType("int")
+                   .HasColumnName("taocanjianshu");
             });
 
             modelBuilder.Entity<CusFangwenjilu>(entity =>
@@ -2802,6 +2833,72 @@
                 entity.Property(e => e.RecordTypeId).HasMaxLength(50);
 
                 entity.Property(e => e.Remark).HasMaxLength(500);
+
+                entity.Property(e => e.SubjectId).HasMaxLength(50);
+            });
+
+            modelBuilder.Entity<FiCustomerrecievemoney>(entity =>
+            {
+                entity.ToTable("fi_Customerrecievemoney");
+
+                entity.Property(e => e.Id).HasMaxLength(50);
+
+                entity.Property(e => e.AccountId).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)
+                    .HasComment("瀹㈡埛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.PayTime)
+                    .HasColumnType("datetime")
+                    .HasColumnName("pay_time")
+                    .HasDefaultValueSql("(getdate())")
+                    .HasComment("鏀舵鏃ユ湡");
+
+                entity.Property(e => e.PayType)
+                    .HasMaxLength(50)
+                    .HasColumnName("pay_type")
+                    .HasComment("鏀舵鏂瑰紡");
+
+                entity.Property(e => e.RecStatus)
+                    .IsRequired()
+                    .HasMaxLength(1)
+                    .HasColumnName("rec_status")
+                    .HasDefaultValueSql("('A')");
+
+                entity.Property(e => e.Recievemoney)
+                    .HasColumnType("numeric(18, 2)")
+                    .HasColumnName("recievemoney")
+                    .HasComment("鏀舵閲戦");
+
+                entity.Property(e => e.RecordTypeId).HasMaxLength(50);
+
+                entity.Property(e => e.Remark)
+                    .HasMaxLength(4000)
+                    .HasColumnName("remark")
+                    .HasComment("鏀舵澶囨敞");
 
                 entity.Property(e => e.SubjectId).HasMaxLength(50);
             });
@@ -3031,6 +3128,10 @@
                     .HasColumnName("danjia")
                     .HasComment("鍗曚环");
 
+                entity.Property(e => e.Jifen)
+                   .HasColumnType("money")
+                   .HasColumnName("jifen");
+
                 entity.Property(e => e.Modifier)
                     .IsRequired()
                     .HasMaxLength(50)
@@ -3070,6 +3171,10 @@
                     .HasColumnType("money")
                     .HasColumnName("huifei")
                     .HasComment("浼氳垂");
+
+                entity.Property(e => e.Jifen)
+                    .HasColumnType("money")
+                    .HasColumnName("jifen");
 
                 entity.Property(e => e.MemberAuthority)
                     .HasMaxLength(500)
@@ -3120,6 +3225,10 @@
                     .HasColumnType("money")
                     .HasColumnName("feiyong")
                     .HasComment("璐圭敤");
+
+                entity.Property(e => e.Jifen)
+                  .HasColumnType("money")
+                  .HasColumnName("jifen");
 
                 entity.Property(e => e.Modifier)
                     .IsRequired()
@@ -4566,6 +4675,14 @@
                 entity.Property(e => e.Zhujiangren)
                     .HasMaxLength(100)
                     .HasColumnName("zhujiangren");
+
+                entity.Property(e => e.Jiage)
+                  .HasColumnType("numeric(18, 2)")
+                  .HasColumnName("jiage");
+
+                entity.Property(e => e.Jifen)
+                  .HasColumnType("numeric(18, 2)")
+                  .HasColumnName("Jifen");
             });
 
             modelBuilder.Entity<OrderBanciOrder>(entity =>
@@ -4599,6 +4716,10 @@
                     .HasColumnType("money")
                     .HasColumnName("jine");
 
+                entity.Property(e => e.Jifen)
+                 .HasColumnType("money")
+                 .HasColumnName("jifen");
+
                 entity.Property(e => e.Kechengleixing)
                     .HasMaxLength(100)
                     .HasColumnName("kechengleixing");
@@ -4629,6 +4750,10 @@
                 entity.Property(e => e.PersonId)
                     .HasMaxLength(100)
                     .HasColumnName("person_id");
+
+                entity.Property(e => e.OrderId)
+                    .HasMaxLength(100)
+                    .HasColumnName("order_id");
 
                 entity.Property(e => e.RecStatus)
                     .IsRequired()
@@ -5116,6 +5241,8 @@
                 entity.Property(e => e.ShiyongDate).HasColumnType("datetime");
 
                 entity.Property(e => e.ShiyongDateEnd).HasColumnType("datetime");
+
+                entity.Property(e => e.HetongDateEnd).HasColumnType("datetime");
 
                 entity.Property(e => e.ShiyongPrice).HasColumnType("numeric(18, 2)");
 
@@ -6945,7 +7072,7 @@
                     .HasColumnName("challenge_id");
 
                 entity.Property(e => e.Evidential)
-                    .HasMaxLength(300)
+                    .HasMaxLength(4000)
                     .HasColumnName("evidential");
 
                 entity.Property(e => e.Law)
@@ -7093,7 +7220,7 @@
                     .HasColumnName("complaint_id");
 
                 entity.Property(e => e.Evidential)
-                    .HasMaxLength(300)
+                    .HasMaxLength(4000)
                     .HasColumnName("evidential");
 
                 entity.Property(e => e.Law)
@@ -7227,7 +7354,7 @@
                     .HasColumnName("purchaser_name");
 
                 entity.Property(e => e.Questioned)
-                    .HasMaxLength(50)
+                    .HasMaxLength(300)
                     .HasColumnName("questioned");
 
                 entity.Property(e => e.RequestInfo)
@@ -7239,7 +7366,7 @@
                     .HasColumnName("respond_date");
 
                 entity.Property(e => e.Respondent)
-                    .HasMaxLength(50)
+                    .HasMaxLength(300)
                     .HasColumnName("respondent");
 
                 entity.Property(e => e.ResultnoticeDate)
@@ -7371,6 +7498,62 @@
                     .HasColumnName("youbian");
             });
 
+
+            modelBuilder.Entity<Zxdsfxl>(entity =>
+            {
+                entity.ToTable("zxdsfxls");
+
+                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.Huiyuanid)
+                    .HasMaxLength(50)
+                    .HasColumnName("huiyuanid");
+
+                entity.Property(e => e.Huiyuanname)
+                    .HasMaxLength(100)
+                    .HasColumnName("huiyuanname");
+
+                entity.Property(e => e.Leixing)
+                    .HasMaxLength(1)
+                    .HasColumnName("leixing");
+
+                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.Token)
+                    .HasMaxLength(500)
+                    .HasColumnName("token");
+
+                entity.Property(e => e.Visittime)
+                    .HasColumnType("datetime")
+                    .HasColumnName("visittime");
+            });
+
             OnModelCreatingPartial(modelBuilder);
         }
 

--
Gitblit v1.9.1