From 91bad66d03c07b6cb2a3eb09bdd98faab4b8caa3 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 02 十二月 2021 14:03:34 +0800 Subject: [PATCH] 提交 --- zhengcaioa/Model/zhengcaioaContext.cs | 80 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 78 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs index e60d401..f7cfe57 100644 --- a/zhengcaioa/Model/zhengcaioaContext.cs +++ b/zhengcaioa/Model/zhengcaioaContext.cs @@ -133,6 +133,8 @@ public virtual DbSet<TComplaintItem> TComplaintItems { get; set; } public virtual DbSet<TComplaintRespondent> TComplaintRespondents { get; set; } public virtual DbSet<TComplaintletter> TComplaintletters { get; set; } + public virtual DbSet<TComplaintGongyingshang> TComplaintGongyingshangs { get; set; } + public virtual DbSet<TComplaintShouquandaibiao> TComplaintShouquandaibiaos { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) @@ -6950,6 +6952,10 @@ .HasMaxLength(300) .HasColumnName("law"); + entity.Property(e => e.Lawcoment) + .HasMaxLength(300) + .HasColumnName("lawcoment"); + entity.Property(e => e.Question) .HasMaxLength(300) .HasColumnName("question"); @@ -7094,6 +7100,10 @@ .HasMaxLength(300) .HasColumnName("law"); + entity.Property(e => e.Lawcoment) + .HasMaxLength(300) + .HasColumnName("lawcoment"); + entity.Property(e => e.Question) .HasMaxLength(300) .HasColumnName("question"); @@ -7186,9 +7196,13 @@ .HasMaxLength(10) .HasColumnName("gys_postcode"); - entity.Property(e => e.IsNotice).HasColumnName("is_notice"); + entity.Property(e => e.IsNotice) + .HasMaxLength(1) + .HasColumnName("is_notice"); - entity.Property(e => e.IsResultnotice).HasColumnName("is_resultnotice"); + entity.Property(e => e.IsResultnotice) + .HasMaxLength(1) + .HasColumnName("is_resultnotice"); entity.Property(e => e.Modifier) .HasMaxLength(50) @@ -7295,6 +7309,68 @@ .HasColumnName("xm_package"); }); + modelBuilder.Entity<TComplaintGongyingshang>(entity => + { + entity.ToTable("t_complaint_gongyingshang"); + + entity.Property(e => e.Id).HasColumnName("id"); + + entity.Property(e => e.ComplaintId) + .HasMaxLength(50) + .HasColumnName("complaint_id"); + + entity.Property(e => e.Dizhi) + .HasMaxLength(300) + .HasColumnName("dizhi"); + + entity.Property(e => e.Gongytingshang) + .HasMaxLength(300) + .HasColumnName("gongytingshang"); + + entity.Property(e => e.Lianxidianhua) + .HasMaxLength(300) + .HasColumnName("lianxidianhua"); + + entity.Property(e => e.Lianxiren) + .HasMaxLength(300) + .HasColumnName("lianxiren"); + + entity.Property(e => e.Sort).HasColumnName("sort"); + + entity.Property(e => e.Youbian) + .HasMaxLength(300) + .HasColumnName("youbian"); + }); + + modelBuilder.Entity<TComplaintShouquandaibiao>(entity => + { + entity.ToTable("t_complaint_shouquandaibiao"); + + entity.Property(e => e.Id).HasColumnName("id"); + + entity.Property(e => e.ComplaintId) + .HasMaxLength(50) + .HasColumnName("complaint_id"); + + entity.Property(e => e.Dizhi) + .HasMaxLength(300) + .HasColumnName("dizhi"); + + entity.Property(e => e.Lianxidianhua) + .HasMaxLength(300) + .HasColumnName("lianxidianhua"); + + entity.Property(e => e.Shouquandaibiao) + .HasMaxLength(300) + .HasColumnName("shouquandaibiao"); + + entity.Property(e => e.Sort).HasColumnName("sort"); + + entity.Property(e => e.Youbian) + .HasMaxLength(300) + .HasColumnName("youbian"); + }); + OnModelCreatingPartial(modelBuilder); } -- Gitblit v1.9.1