| | |
| | | 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) |
| | |
| | | .HasMaxLength(300) |
| | | .HasColumnName("law"); |
| | | |
| | | entity.Property(e => e.Lawcoment) |
| | | .HasMaxLength(300) |
| | | .HasColumnName("lawcoment"); |
| | | |
| | | entity.Property(e => e.Question) |
| | | .HasMaxLength(300) |
| | | .HasColumnName("question"); |
| | |
| | | .HasMaxLength(300) |
| | | .HasColumnName("law"); |
| | | |
| | | entity.Property(e => e.Lawcoment) |
| | | .HasMaxLength(300) |
| | | .HasColumnName("lawcoment"); |
| | | |
| | | entity.Property(e => e.Question) |
| | | .HasMaxLength(300) |
| | | .HasColumnName("question"); |
| | |
| | | .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) |
| | |
| | | .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); |
| | | } |
| | | |