添加表和字段
This commit is contained in:
@@ -6834,6 +6834,15 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("bit")
|
||||
.HasComment("eCRF报告是否显示在图像页面");
|
||||
|
||||
b.Property<int>("JudgeGenerateEnum")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("JudgeModeEnum")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("JudgeRuleEnum")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime?>("ReadingInfoSignTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasComment("阅片信息签名时间");
|
||||
@@ -7466,6 +7475,62 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingQuestionVisitJudgeRule", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.PrimitiveCollection<string>("AnswerCombination")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)")
|
||||
.HasComment("答案组合");
|
||||
|
||||
b.PrimitiveCollection<string>("AnswerGroup")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)")
|
||||
.HasComment("答案分组");
|
||||
|
||||
b.Property<DateTime>("CreateTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid>("CreateUserId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("JudgeDifferenceType")
|
||||
.HasColumnType("int")
|
||||
.HasComment("裁判百分比或绝对值的相差值匹配规则");
|
||||
|
||||
b.Property<decimal?>("JudgeDifferenceValue")
|
||||
.HasPrecision(18, 2)
|
||||
.HasColumnType("decimal(18,2)")
|
||||
.HasComment("裁判百分比或绝对值的相差值");
|
||||
|
||||
b.Property<int>("JudgeType")
|
||||
.HasColumnType("int")
|
||||
.HasComment("裁判类型");
|
||||
|
||||
b.Property<Guid>("ReadingQuestionId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasComment("问题Id");
|
||||
|
||||
b.Property<decimal>("VisitNum")
|
||||
.HasPrecision(18, 2)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
SqlServerKeyBuilderExtensions.IsClustered(b.HasKey("Id"), false);
|
||||
|
||||
b.HasIndex("CreateTime");
|
||||
|
||||
SqlServerIndexBuilderExtensions.IsClustered(b.HasIndex("CreateTime"));
|
||||
|
||||
b.ToTable("ReadingQuestionVisitJudgeRule", t =>
|
||||
{
|
||||
t.HasComment("项目阅片访视裁判规则");
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingSystemCriterionDictionary", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
@@ -16682,6 +16747,9 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
.HasColumnType("bit")
|
||||
.HasComment("阅片结果是否和原数据有差异");
|
||||
|
||||
b.Property<bool>("IsCalculatedJudge")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsCanEditUrgentState")
|
||||
.HasColumnType("bit")
|
||||
.HasComment("是否和编辑加急状态");
|
||||
@@ -19027,6 +19095,25 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Navigation("RelevanceReadingQuestionTrial");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingQuestionVisitJudgeRule", b =>
|
||||
{
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.UserRole", "CreateUserRole")
|
||||
.WithMany()
|
||||
.HasForeignKey("CreateUserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.ReadingQuestionTrial", "ReadingQuestionTrial")
|
||||
.WithMany()
|
||||
.HasForeignKey("ReadingQuestionId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("CreateUserRole");
|
||||
|
||||
b.Navigation("ReadingQuestionTrial");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IRaCIS.Core.Domain.Models.ReadingSystemCriterionDictionary", b =>
|
||||
{
|
||||
b.HasOne("IRaCIS.Core.Domain.Models.UserRole", "CreateUserRole")
|
||||
|
||||
Reference in New Issue
Block a user