Browse Source

危警值数据表

master
wxd 1 year ago
parent
commit
46988d1657
  1. 4
      src/Shentun.Peis.EntityFrameworkCore/DbMapping/Asbitems/AsbitemDbMapping.cs
  2. 4
      src/Shentun.Peis.EntityFrameworkCore/DbMapping/Items/ItemDbMapping.cs

4
src/Shentun.Peis.EntityFrameworkCore/DbMapping/Asbitems/AsbitemDbMapping.cs

@ -38,9 +38,9 @@ namespace Shentun.Peis.DbMapping
entity.Property(t => t.BarcodeMode).HasComment("条码模式").IsRequired().HasDefaultValueSql("'0'");
entity.Property(t => t.IsWebAppoint).HasComment("是否支持网上预约").IsRequired().HasDefaultValueSql("'Y'");
entity.Property(t => t.ForPregnantFlag).HasComment("备怀孕期间禁止检查").IsRequired().HasDefaultValueSql("'A'");
entity.Property(t => t.IsCriticalValueFunction).HasComment("是否启用危急值函数").IsRequired().HasDefaultValue("'N'");
entity.Property(t => t.IsCriticalValueFunction).HasComment("是否启用危急值函数").IsRequired().HasDefaultValueSql("'N'");
entity.Property(t => t.CriticalValueFunction).HasComment("危急值函数");
entity.Property(t => t.IsFollowUpFunction).HasComment("是否启用随访函数").IsRequired().HasDefaultValue("'N'");
entity.Property(t => t.IsFollowUpFunction).HasComment("是否启用随访函数").IsRequired().HasDefaultValueSql("'N'");
entity.Property(t => t.FollowUpFunction).HasComment("随访函数");
entity.Property(e => e.Id)
.IsFixedLength()

4
src/Shentun.Peis.EntityFrameworkCore/DbMapping/Items/ItemDbMapping.cs

@ -37,9 +37,9 @@ namespace Shentun.Peis.DbMapping
entity.Property(t => t.IsActive).HasComment("启用").IsRequired().HasDefaultValueSql("'Y'");
entity.Property(t => t.LineModeFlag).HasComment("项目结果行模式").HasDefaultValue('2').IsRequired();
entity.Property(t => t.IsCriticalValueFunction).HasComment("是否启用危急值函数").IsRequired().HasDefaultValue("'N'");
entity.Property(t => t.IsCriticalValueFunction).HasComment("是否启用危急值函数").IsRequired().HasDefaultValueSql("'N'");
entity.Property(t => t.CriticalValueFunction).HasComment("危急值函数");
entity.Property(t => t.IsFollowUpFunction).HasComment("是否启用随访函数").IsRequired().HasDefaultValue("'N'");
entity.Property(t => t.IsFollowUpFunction).HasComment("是否启用随访函数").IsRequired().HasDefaultValueSql("'N'");
entity.Property(t => t.FollowUpFunction).HasComment("随访函数");
entity.Property(e => e.Id).IsFixedLength();

Loading…
Cancel
Save