From 69a8bb4807c77d05b5b43328acbf4ad26fb5fc68 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 05 五月 2023 15:00:52 +0800 Subject: [PATCH] 提交 --- zhengcaioa/Model/zhengcaioaContext.cs | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 105 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs index 9b1addc..ac5a519 100644 --- a/zhengcaioa/Model/zhengcaioaContext.cs +++ b/zhengcaioa/Model/zhengcaioaContext.cs @@ -10,6 +10,7 @@ { public zhengcaioaContext() { + this.Database.SetCommandTimeout(60); } public zhengcaioaContext(DbContextOptions<zhengcaioaContext> options) @@ -63,6 +64,7 @@ public virtual DbSet<CooperVisit> CooperVisits { get; set; } public virtual DbSet<CooperatecustomCustomer> CooperatecustomCustomers { get; set; } public virtual DbSet<CustomerYwjl> CustomerYwjls { get; set; } + public virtual DbSet<CustomerGuanlianhuiyuan> CustomerGuanlianhuiyuans { get; set; } public virtual DbSet<CustomerGuanlian> CustomerGuanlians { get; set; } public virtual DbSet<CusFangwenjilu> CusFangwenjilus { get; set; } public virtual DbSet<FiAccount> FiAccounts { get; set; } @@ -106,6 +108,7 @@ public virtual DbSet<Projectreason> Projectreasons { get; set; } public virtual DbSet<Projectyouxiao> Projectyouxiaos { get; set; } public virtual DbSet<Projectzhongbiao> Projectzhongbiaos { get; set; } + public virtual DbSet<Projectfasongxiaoxi> Projectfasongxiaoxis { get; set; } public virtual DbSet<SysAttachment> SysAttachments { get; set; } public virtual DbSet<SysBaimingdan> SysBaimingdans { get; set; } public virtual DbSet<SysCode> SysCodes { get; set; } @@ -2732,6 +2735,14 @@ .HasColumnType("datetime") .HasColumnName("weixintime"); + entity.Property(e => e.Kuaidistatus) + .HasMaxLength(1) + .HasColumnName("kuaidistatus"); + + entity.Property(e => e.Kuaiditime) + .HasColumnType("datetime") + .HasColumnName("kuaiditime"); + entity.Property(e => e.Ywjltime) .HasColumnType("datetime") .HasColumnName("ywjltime"); @@ -2790,6 +2801,53 @@ entity.Property(e => e.YwjlId) .HasMaxLength(50) .HasColumnName("ywjlId"); + }); + + modelBuilder.Entity<CustomerGuanlianhuiyuan>(entity => + { + entity.ToTable("CustomerGuanlianhuiyuan"); + + 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.Customerid) + .HasMaxLength(50) + .HasColumnName("customerid"); + + entity.Property(e => e.Customertype) + .HasMaxLength(50) + .HasColumnName("customertype"); + + entity.Property(e => e.Huiyuanid) + .HasMaxLength(50) + .HasColumnName("huiyuanid"); + + 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<CustomerGuanlian>(entity => @@ -3745,6 +3803,10 @@ .HasColumnType("money") .HasColumnName("jibengongzi"); + entity.Property(e => e.Jiabangongzi) + .HasColumnType("money") + .HasColumnName("jiabangongzi"); + entity.Property(e => e.Modifier) .IsRequired() .HasMaxLength(50) @@ -4242,6 +4304,14 @@ entity.Property(e => e.Weixintime) .HasColumnType("datetime") .HasColumnName("weixintime"); + + entity.Property(e => e.Kuaidistatus) + .HasMaxLength(1) + .HasColumnName("kuaidistatus"); + + entity.Property(e => e.Kuaiditime) + .HasColumnType("datetime") + .HasColumnName("kuaiditime"); entity.Property(e => e.Ywjltime) .HasColumnType("datetime") @@ -5907,6 +5977,41 @@ .HasColumnName("zb_zhiyistatus"); }); + modelBuilder.Entity<Projectfasongxiaoxi>(entity => + { + entity.ToTable("Projectfasongxiaoxi"); + + entity.Property(e => e.Id).HasMaxLength(50); + + entity.Property(e => e.Createtime) + .HasColumnType("datetime") + .HasColumnName("createtime"); + + entity.Property(e => e.ProjectId).HasMaxLength(50); + + entity.Property(e => e.ProjectmingxiId).HasMaxLength(50); + + entity.Property(e => e.RecStatus) + .HasMaxLength(1) + .HasColumnName("rec_status"); + + entity.Property(e => e.Xiaoxileixing) + .HasMaxLength(50) + .HasColumnName("xiaoxileixing"); + + entity.Property(e => e.Xiaoxizhonglei) + .HasMaxLength(50) + .HasColumnName("xiaoxizhonglei"); + + entity.Property(e => e.Gyszl) + .HasMaxLength(50) + .HasColumnName("gyszl"); + + entity.Property(e => e.Khname) + .HasMaxLength(50) + .HasColumnName("khname"); + }); + modelBuilder.Entity<SysAttachment>(entity => { entity.ToTable("sys_attachment"); -- Gitblit v1.9.1