From 3a864ec2d204077d34bd0b874540829702581c6c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 11 二月 2022 15:16:35 +0800
Subject: [PATCH] 删除知识点查询
---
zhengcaioa/Model/zhengcaioaContext.cs | 77 +++++++++++++++++++++++++++++++++++++-
1 files changed, 74 insertions(+), 3 deletions(-)
diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs
index 4a839aa..4c8e020 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; }
@@ -142,7 +143,7 @@
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");
}
}
@@ -2818,6 +2819,72 @@
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);
+ });
+
modelBuilder.Entity<FiOrderrecievemoney>(entity =>
{
entity.ToTable("fi_Orderrecievemoney");
@@ -4641,6 +4708,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()
@@ -6957,7 +7028,7 @@
.HasColumnName("challenge_id");
entity.Property(e => e.Evidential)
- .HasMaxLength(300)
+ .HasMaxLength(4000)
.HasColumnName("evidential");
entity.Property(e => e.Law)
@@ -7105,7 +7176,7 @@
.HasColumnName("complaint_id");
entity.Property(e => e.Evidential)
- .HasMaxLength(300)
+ .HasMaxLength(4000)
.HasColumnName("evidential");
entity.Property(e => e.Law)
--
Gitblit v1.9.1