From 98cd7063d9b9a1570dcfbac92f5c2b35d904868b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 05 七月 2021 15:41:29 +0800 Subject: [PATCH] 修改修改 --- zhengcaioa/Model/zhengcaioaContext.cs | 33 ++++++++++++++++++++++++++------- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs index 41132d1..4905e17 100644 --- a/zhengcaioa/Model/zhengcaioaContext.cs +++ b/zhengcaioa/Model/zhengcaioaContext.cs @@ -1684,6 +1684,10 @@ .HasColumnName("sheng") .HasComment("鐪�"); + entity.Property(e => e.Shifoutianjiaweixin) + .HasMaxLength(1) + .HasColumnName("shifoutianjiaweixin"); + entity.Property(e => e.ShrAddress) .HasMaxLength(500) .HasColumnName("shr_address") @@ -1708,6 +1712,10 @@ .HasMaxLength(500) .HasColumnName("url") .HasComment("缃戝潃"); + + entity.Property(e => e.Weixin) + .HasMaxLength(50) + .HasColumnName("weixin"); entity.Property(e => e.YwName) .HasMaxLength(500) @@ -3000,6 +3008,10 @@ .HasColumnName("sheng") .HasComment("鐪�"); + entity.Property(e => e.Shifoutianjiaweixin) + .HasMaxLength(1) + .HasColumnName("shifoutianjiaweixin"); + entity.Property(e => e.ShrAddress) .HasMaxLength(500) .HasColumnName("shr_address") @@ -3024,6 +3036,10 @@ .HasMaxLength(500) .HasColumnName("url") .HasComment("缃戝潃"); + + entity.Property(e => e.Weixin) + .HasMaxLength(50) + .HasColumnName("weixin"); entity.Property(e => e.Yixiang).HasMaxLength(50); @@ -4006,6 +4022,7 @@ .HasMaxLength(50) .HasColumnName("userId"); }); + modelBuilder.Entity<Project>(entity => { entity.ToTable("Project"); @@ -4075,21 +4092,21 @@ .HasMaxLength(500) .HasColumnName("drhx"); - entity.Property(e => e.DrhxPrice) - .HasMaxLength(500) - .HasColumnName("drhx_price"); - entity.Property(e => e.DrhxDefen) .HasColumnType("money") .HasColumnName("drhx_defen"); - entity.Property(e => e.DshxDefen) - .HasColumnType("money") - .HasColumnName("dshx_defen"); + entity.Property(e => e.DrhxPrice) + .HasMaxLength(500) + .HasColumnName("drhx_price"); entity.Property(e => e.Dshx) .HasMaxLength(500) .HasColumnName("dshx"); + + entity.Property(e => e.DshxDefen) + .HasColumnType("money") + .HasColumnName("dshx_defen"); entity.Property(e => e.DshxPrice) .HasMaxLength(500) @@ -4103,6 +4120,8 @@ .HasMaxLength(100) .HasColumnName("feibiaocishu"); + entity.Property(e => e.Fencha).HasColumnType("money"); + entity.Property(e => e.Modifier) .IsRequired() .HasMaxLength(50) -- Gitblit v1.9.1