diff --git a/IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.Designer.cs b/IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.Designer.cs similarity index 99% rename from IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.Designer.cs rename to IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.Designer.cs index e6424065d..9718e5025 100644 --- a/IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.Designer.cs +++ b/IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.Designer.cs @@ -12,8 +12,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace IRaCIS.Core.Infra.EFCore.Migrations { [DbContext(typeof(IRaCISDBContext))] - [Migration("20241029055220_doctorinfo1029")] - partial class doctorinfo1029 + [Migration("20241029055808_doctorinfo10291357")] + partial class doctorinfo10291357 { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) diff --git a/IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.cs b/IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.cs similarity index 85% rename from IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.cs rename to IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.cs index 16cc515f2..cf1513e97 100644 --- a/IRaCIS.Core.Infra.EFCore/Migrations/20241029055220_doctorinfo1029.cs +++ b/IRaCIS.Core.Infra.EFCore/Migrations/20241029055808_doctorinfo10291357.cs @@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations; namespace IRaCIS.Core.Infra.EFCore.Migrations { /// - public partial class doctorinfo1029 : Migration + public partial class doctorinfo10291357 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) @@ -37,12 +37,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations type: "uniqueidentifier", nullable: true); - migrationBuilder.AddColumn( - name: "DocUserSignType", - table: "SystemDocument", - type: "int", - nullable: false, - defaultValue: 0); + migrationBuilder.AddColumn( name: "DoctorId", @@ -76,9 +71,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations name: "TrialId", table: "TrialExperience"); - migrationBuilder.DropColumn( - name: "DocUserSignType", - table: "SystemDocument"); + migrationBuilder.DropColumn( name: "DoctorId", diff --git a/IRaCIS.Core.Infra.EFCore/Migrations/IRaCISDBContextModelSnapshot.cs b/IRaCIS.Core.Infra.EFCore/Migrations/IRaCISDBContextModelSnapshot.cs index f458211a7..c19dc170e 100644 --- a/IRaCIS.Core.Infra.EFCore/Migrations/IRaCISDBContextModelSnapshot.cs +++ b/IRaCIS.Core.Infra.EFCore/Migrations/IRaCISDBContextModelSnapshot.cs @@ -76,7 +76,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DoctorId"); - b.ToTable("Attachment", t => + b.ToTable("Attachment", null, t => { t.HasComment("医生 - 简历|证书 文档表"); }); @@ -125,7 +125,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("CROCompany", t => + b.ToTable("CROCompany", null, t => { t.HasComment("机构 - CRO"); }); @@ -168,7 +168,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("CheckChallengeDialog", t => + b.ToTable("CheckChallengeDialog", null, t => { t.HasComment("一致性核查 - 对话记录表"); }); @@ -204,7 +204,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ClinicalAnswerRowInfo", t => + b.ToTable("ClinicalAnswerRowInfo", null, t => { t.HasComment("受试者 - 临床表单表格问题行记录"); }); @@ -271,7 +271,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ClinicalDataSystemSet", t => + b.ToTable("ClinicalDataSystemSet", null, t => { t.HasComment("系统 - 临床数据配置"); }); @@ -345,7 +345,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("ClinicalDataTrialSet", t => + b.ToTable("ClinicalDataTrialSet", null, t => { t.HasComment("项目 - 临床数据适应标准配置"); }); @@ -396,7 +396,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectId"); - b.ToTable("ClinicalForm", t => + b.ToTable("ClinicalForm", null, t => { t.HasComment("受试者 - 临床表单"); }); @@ -439,7 +439,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ClinicalQuestionAnswer", t => + b.ToTable("ClinicalQuestionAnswer", null, t => { t.HasComment("受试者 - 临床表单问题答案"); }); @@ -487,7 +487,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("RowId"); - b.ToTable("ClinicalTableAnswer", t => + b.ToTable("ClinicalTableAnswer", null, t => { t.HasComment("受试者 - 临床表单表格问题答案"); }); @@ -560,7 +560,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("CommonDocument", t => + b.ToTable("CommonDocument", null, t => { t.HasComment("数据上传 | 数据导出 | 邮件附件 文件记录表 (需要同步)"); }); @@ -597,7 +597,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CriterionId"); - b.ToTable("CriterionNidusSystem", t => + b.ToTable("CriterionNidusSystem", null, t => { t.HasComment("系统标准 - 病灶器官表 (需要同步)"); }); @@ -627,7 +627,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("CriterionNidusTrial", t => + b.ToTable("CriterionNidusTrial", null, t => { t.HasComment("项目标准 - 病灶器官表"); }); @@ -769,7 +769,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("DataInspection", t => + b.ToTable("DataInspection", null, t => { t.HasComment("稽查 - 记录表"); }); @@ -901,7 +901,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("DicomInstance", t => + b.ToTable("DicomInstance", null, t => { t.HasComment("归档 - Instance表"); }); @@ -1050,7 +1050,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("DicomSeries", t => + b.ToTable("DicomSeries", null, t => { t.HasComment("归档 - 序列表"); }); @@ -1224,7 +1224,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("DicomStudy"); + b.ToTable("DicomStudy", (string)null); }); modelBuilder.Entity("IRaCIS.Core.Domain.Models.Dictionary", b => @@ -1297,7 +1297,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ParentId"); - b.ToTable("Dictionary", t => + b.ToTable("Dictionary", null, t => { t.HasComment("后台 - 字典表(需要同步)"); }); @@ -1612,7 +1612,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SpecialityId"); - b.ToTable("Doctor", t => + b.ToTable("Doctor", null, t => { t.HasComment("医生 - 基础信息表"); }); @@ -1678,7 +1678,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DoctorId"); - b.ToTable("DoctorCriterionFile", t => + b.ToTable("DoctorCriterionFile", null, t => { t.HasComment("医生 - 项目标准签名文档"); }); @@ -1706,7 +1706,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DoctorId"); - b.ToTable("DoctorDictionary", t => + b.ToTable("DoctorDictionary", null, t => { t.HasComment("医生 - 医生字典关联表"); }); @@ -1805,7 +1805,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Education", t => + b.ToTable("Education", null, t => { t.HasComment("医生 - 教育信息"); }); @@ -1937,7 +1937,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("EmailNoticeConfig", t => + b.ToTable("EmailNoticeConfig", null, t => { t.HasComment("后台 - 邮件配置表表(需要同步)"); }); @@ -1961,7 +1961,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("EmailNoticeConfigId"); - b.ToTable("EmailNoticeUserType", t => + b.ToTable("EmailNoticeUserType", null, t => { t.HasComment("后台 - 邮件配置用户类型表(需要同步)"); }); @@ -2058,7 +2058,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("Enroll", t => + b.ToTable("Enroll", null, t => { t.HasComment("医生 - 入组项目中间记录表"); }); @@ -2106,7 +2106,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialDetailId"); - b.ToTable("EnrollDetail", t => + b.ToTable("EnrollDetail", null, t => { t.HasComment("医生 - 入组项目流程记录表"); }); @@ -2138,7 +2138,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("EnrollId"); - b.ToTable("EnrollReadingCategory", t => + b.ToTable("EnrollReadingCategory", null, t => { t.HasComment("医生 - 项目阅片标准阅片类型配置表"); }); @@ -2170,7 +2170,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("EnrollId"); - b.ToTable("EnrollReadingCriterion", t => + b.ToTable("EnrollReadingCriterion", null, t => { t.HasComment("医生 - 项目阅片标准参与一致性分析配置表"); }); @@ -2216,7 +2216,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("EventStoreRecord", t => + b.ToTable("EventStoreRecord", null, t => { t.HasComment("记录触发的事件,以及状态,从而方便重试操作"); }); @@ -2252,7 +2252,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ExchangeRate", t => + b.ToTable("ExchangeRate", null, t => { t.HasComment("医生计费 - 汇率"); }); @@ -2318,7 +2318,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ExploreRecommend", t => + b.ToTable("ExploreRecommend", null, t => { t.HasComment("后台 - 浏览器推荐 (需要同步)"); }); @@ -2534,7 +2534,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("FrontAuditConfig", t => + b.ToTable("FrontAuditConfig", null, t => { t.HasComment("稽查 - 配置表 (需要同步)"); }); @@ -2617,7 +2617,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SiteId"); - b.ToTable("Hospital", t => + b.ToTable("Hospital", null, t => { t.HasComment("机构 - 医院"); }); @@ -2647,7 +2647,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("ImageShare", t => + b.ToTable("ImageShare", null, t => { t.HasComment("影像 - 影像分享记录表"); }); @@ -2681,7 +2681,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("InspectionFile", t => + b.ToTable("InspectionFile", null, t => { t.HasComment("一致性核查文件"); }); @@ -2754,7 +2754,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("PublishLogId"); - b.ToTable("Internationalization", t => + b.ToTable("Internationalization", null, t => { t.HasComment("后台 - 国际化配置表 (需要同步)"); }); @@ -2864,7 +2864,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Menu", t => + b.ToTable("Menu", null, t => { t.HasComment("后台 - 系统菜单 (需要同步)"); }); @@ -2951,7 +2951,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("NoneDicomStudy", t => + b.ToTable("NoneDicomStudy", null, t => { t.HasComment("影像 - 非dicom检查"); }); @@ -3006,7 +3006,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("NoneDicomStudyFile", t => + b.ToTable("NoneDicomStudyFile", null, t => { t.HasComment("影像 - 非dicom检查关联文件表"); }); @@ -3101,7 +3101,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("OrganInfo", t => + b.ToTable("OrganInfo", null, t => { t.HasComment("后台 - 系统标准器官 (需要同步)"); }); @@ -3203,7 +3203,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("OrganInfoId"); - b.ToTable("OrganTrialInfo", t => + b.ToTable("OrganTrialInfo", null, t => { t.HasComment("项目标准 - 器官"); }); @@ -3277,7 +3277,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Payment", t => + b.ToTable("Payment", null, t => { t.HasComment("医生计费 - 每月支付记录表"); }); @@ -3338,7 +3338,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("PaymentAdjustment", t => + b.ToTable("PaymentAdjustment", null, t => { t.HasComment("医生计费 - 每月支付记录表"); }); @@ -3422,7 +3422,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("PaymentDetail", t => + b.ToTable("PaymentDetail", null, t => { t.HasComment("医生计费 - 每月支付详情表"); }); @@ -3531,7 +3531,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Postgraduate", t => + b.ToTable("Postgraduate", null, t => { t.HasComment("医生 - 继续教育经历"); }); @@ -3587,7 +3587,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("PreviousHistory", t => + b.ToTable("PreviousHistory", null, t => { t.HasComment("受试者访视 - 既往放疗史"); }); @@ -3644,7 +3644,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("PreviousOther", t => + b.ToTable("PreviousOther", null, t => { t.HasComment("受试者访视 - 既往其他治疗史"); }); @@ -3701,7 +3701,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("PreviousPDF", t => + b.ToTable("PreviousPDF", null, t => { t.HasComment("受试者访视 - 临床数据配置"); }); @@ -3752,7 +3752,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("PreviousSurgery", t => + b.ToTable("PreviousSurgery", null, t => { t.HasComment("受试者访视 - 既往手术史"); }); @@ -3803,7 +3803,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("PublishLog", t => + b.ToTable("PublishLog", null, t => { t.HasComment("后台 - 系统发布日志 (需要同步)"); }); @@ -3908,7 +3908,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("QCChallenge", t => + b.ToTable("QCChallenge", null, t => { t.HasComment("受试者访视 - QC质疑"); }); @@ -3947,7 +3947,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("QCChallengeDialog", t => + b.ToTable("QCChallengeDialog", null, t => { t.HasComment("受试者访视 - QC质疑对话"); }); @@ -4013,7 +4013,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ParentId"); - b.ToTable("QCQuestion", t => + b.ToTable("QCQuestion", null, t => { t.HasComment("后台 - QC质控问题(需要同步)"); }); @@ -4088,7 +4088,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("RankPrice", t => + b.ToTable("RankPrice", null, t => { t.HasComment("医生计费 - 不同时间点价格设置"); }); @@ -4192,7 +4192,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("ReadModule", t => + b.ToTable("ReadModule", null, t => { t.HasComment("读片模块"); }); @@ -4230,7 +4230,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ReadModuleId"); - b.ToTable("ReadModuleCriterionFrom", t => + b.ToTable("ReadModuleCriterionFrom", null, t => { t.HasComment("受试者 - 阅片模块临床表单"); }); @@ -4301,7 +4301,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("ReadingClinicalData", t => + b.ToTable("ReadingClinicalData", null, t => { t.HasComment("项目的临床数据"); }); @@ -4346,7 +4346,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ReadingClinicalDataId"); - b.ToTable("ReadingClinicalDataPDF", t => + b.ToTable("ReadingClinicalDataPDF", null, t => { t.HasComment("项目的临床数据"); }); @@ -4419,7 +4419,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("ReadingConsistentClinicalData", t => + b.ToTable("ReadingConsistentClinicalData", null, t => { t.HasComment("一致性分析临床数据"); }); @@ -4465,7 +4465,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ReadingConsistentClinicalDataId"); - b.ToTable("ReadingConsistentClinicalDataPDF", t => + b.ToTable("ReadingConsistentClinicalDataPDF", null, t => { t.HasComment("一致性分析临床数据"); }); @@ -4511,7 +4511,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ReadingCriterionPage", t => + b.ToTable("ReadingCriterionPage", null, t => { t.HasComment("阅片标准分页"); }); @@ -4551,7 +4551,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ReadingCustomTag", t => + b.ToTable("ReadingCustomTag", null, t => { t.HasComment("项目阅片 - 自定义标记"); }); @@ -4606,7 +4606,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TaskId"); - b.ToTable("ReadingGlobalTaskInfo", t => + b.ToTable("ReadingGlobalTaskInfo", null, t => { t.HasComment("阅片全局任务信息"); }); @@ -4645,7 +4645,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ReadingJudgeInfo", t => + b.ToTable("ReadingJudgeInfo", null, t => { t.HasComment("阅片裁判信息"); }); @@ -4735,7 +4735,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TaskMedicalReviewId"); - b.ToTable("ReadingMedicalReviewDialog", t => + b.ToTable("ReadingMedicalReviewDialog", null, t => { t.HasComment("阅片医学审核对话"); }); @@ -4780,7 +4780,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TaskMedicalReviewId"); - b.ToTable("ReadingMedicineQuestionAnswer", t => + b.ToTable("ReadingMedicineQuestionAnswer", null, t => { t.HasComment("阅片医学问题答案"); }); @@ -4863,7 +4863,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ParentId"); - b.ToTable("ReadingMedicineSystemQuestion", t => + b.ToTable("ReadingMedicineSystemQuestion", null, t => { t.HasComment("阅片医学审核系统问题"); }); @@ -4955,7 +4955,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ParentId"); - b.ToTable("ReadingMedicineTrialQuestion", t => + b.ToTable("ReadingMedicineTrialQuestion", null, t => { t.HasComment("阅片医学审核项目问题"); }); @@ -5008,7 +5008,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("ReadingOncologyTaskInfo", t => + b.ToTable("ReadingOncologyTaskInfo", null, t => { t.HasComment("阅片肿瘤学 针对访视任务 添加了一个结果"); }); @@ -5056,7 +5056,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectVisitId"); - b.ToTable("ReadingPeriodPlan", t => + b.ToTable("ReadingPeriodPlan", null, t => { t.HasComment("阅片计划"); }); @@ -5139,7 +5139,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitStageId"); - b.ToTable("ReadingPeriodSet", t => + b.ToTable("ReadingPeriodSet", null, t => { t.HasComment("阅片期设置 只会设计到所有人 或者某个Site 针对全局"); }); @@ -5174,7 +5174,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("ReadingPeriodSite", t => + b.ToTable("ReadingPeriodSite", null, t => { t.HasComment("阅片期和中心关联"); }); @@ -5239,7 +5239,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ReadingQuestionCriterionSystem", t => + b.ToTable("ReadingQuestionCriterionSystem", null, t => { t.HasComment("系统阅片标准"); }); @@ -5467,7 +5467,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("ReadingQuestionCriterionTrial", t => + b.ToTable("ReadingQuestionCriterionTrial", null, t => { t.HasComment("项目阅片标准"); }); @@ -5704,7 +5704,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("RelevanceId"); - b.ToTable("ReadingQuestionSystem", t => + b.ToTable("ReadingQuestionSystem", null, t => { t.HasComment("系统阅片问题"); }); @@ -6005,7 +6005,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("RelevanceId"); - b.ToTable("ReadingQuestionTrial", t => + b.ToTable("ReadingQuestionTrial", null, t => { t.HasComment("项目阅片问题"); }); @@ -6052,7 +6052,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DictionaryId"); - b.ToTable("ReadingSystemCriterionDictionary", t => + b.ToTable("ReadingSystemCriterionDictionary", null, t => { t.HasComment("系统标准 - 全局配置 (需要同步)"); }); @@ -6245,7 +6245,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("ReadingTableAnswerRowInfo", t => + b.ToTable("ReadingTableAnswerRowInfo", null, t => { t.HasComment("表格问题答案行数据"); }); @@ -6314,7 +6314,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("ReadingTableQuestionAnswer", t => + b.ToTable("ReadingTableQuestionAnswer", null, t => { t.HasComment("项目阅片 - 表格问题行记录子项答案"); }); @@ -6509,7 +6509,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ReadingQuestionId"); - b.ToTable("ReadingTableQuestionSystem", t => + b.ToTable("ReadingTableQuestionSystem", null, t => { t.HasComment("系统表格问题"); }); @@ -6712,7 +6712,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ReadingQuestionId"); - b.ToTable("ReadingTableQuestionTrial", t => + b.ToTable("ReadingTableQuestionTrial", null, t => { t.HasComment("项目阅片问题"); }); @@ -6772,7 +6772,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("ReadingTaskQuestionAnswer", t => + b.ToTable("ReadingTaskQuestionAnswer", null, t => { t.HasComment("阅片任务答案"); }); @@ -6864,7 +6864,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("ReadingTaskQuestionMark", t => + b.ToTable("ReadingTaskQuestionMark", null, t => { t.HasComment("项目阅片 - 任务问题标记"); }); @@ -6899,7 +6899,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TaskId"); - b.ToTable("ReadingTaskRelation", t => + b.ToTable("ReadingTaskRelation", null, t => { t.HasComment("任务关系表"); }); @@ -6944,7 +6944,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DictionaryId"); - b.ToTable("ReadingTrialCriterionDictionary", t => + b.ToTable("ReadingTrialCriterionDictionary", null, t => { t.HasComment("项目阅片标准 - 全局配置"); }); @@ -7006,7 +7006,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ResearchPublication", t => + b.ToTable("ResearchPublication", null, t => { t.HasComment("医生 - 科研学术记录"); }); @@ -7063,7 +7063,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("DoctorPayInformation", t => + b.ToTable("DoctorPayInformation", null, t => { t.HasComment("医生计费 - 支付信息表"); }); @@ -7124,7 +7124,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("SCPImageUpload", t => + b.ToTable("SCPImageUpload", null, t => { t.HasComment("项目中心 - 影像推送记录"); }); @@ -7242,7 +7242,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("SCPInstance", t => + b.ToTable("SCPInstance", null, t => { t.HasComment("项目中心 - 推送Instance"); }); @@ -7318,7 +7318,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("SCPPatient", t => + b.ToTable("SCPPatient", null, t => { t.HasComment("项目中心 - 推送检查患者"); }); @@ -7452,7 +7452,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("SCPSeries", t => + b.ToTable("SCPSeries", null, t => { t.HasComment("项目中心 - 推送序列"); }); @@ -7619,7 +7619,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("SCPStudy", t => + b.ToTable("SCPStudy", null, t => { t.HasComment("项目中心 - 推送检查"); }); @@ -7679,7 +7679,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("ShortcutKey", t => + b.ToTable("ShortcutKey", null, t => { t.HasComment("用户配置 - 快捷键"); }); @@ -7782,7 +7782,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("HospitalId"); - b.ToTable("Site", t => + b.ToTable("Site", null, t => { t.HasComment("机构 - Site"); }); @@ -7830,7 +7830,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Sponsor", t => + b.ToTable("Sponsor", null, t => { t.HasComment("机构 - Sponsor"); }); @@ -7919,7 +7919,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("StudyMonitor", t => + b.ToTable("StudyMonitor", null, t => { t.HasComment("项目 - 影像上传监控"); }); @@ -8053,7 +8053,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("Subject", t => + b.ToTable("Subject", null, t => { t.HasComment("项目 - 受试者"); }); @@ -8123,7 +8123,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingQuestionId"); - b.ToTable("SubjectAdditionalEvaluationResult", t => + b.ToTable("SubjectAdditionalEvaluationResult", null, t => { t.HasComment("受试者 - 附加评估标准结果"); }); @@ -8157,7 +8157,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SubjectId"); - b.ToTable("SubjectCanceDoctor", t => + b.ToTable("SubjectCanceDoctor", null, t => { t.HasComment("受试者 - 阅片标准取消分配医生记录"); }); @@ -8198,7 +8198,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("SubjectCriteriaEvaluation", t => + b.ToTable("SubjectCriteriaEvaluation", null, t => { t.HasComment("受试者 - 参与附加评估标准配置"); }); @@ -8252,7 +8252,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("SubjectCriteriaEvaluationVisitFilter", t => + b.ToTable("SubjectCriteriaEvaluationVisitFilter", null, t => { t.HasComment("受试者 - 附加评估标准影像筛选"); }); @@ -8305,7 +8305,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("SubjectCriteriaEvaluationVisitStudyFilter", t => + b.ToTable("SubjectCriteriaEvaluationVisitStudyFilter", null, t => { t.HasComment("受试者 - 附加评估标准影像筛选检查"); }); @@ -8365,7 +8365,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("SubjectUser"); + b.ToTable("SubjectUser", (string)null); }); modelBuilder.Entity("IRaCIS.Core.Domain.Models.SubjectVisit", b => @@ -8611,7 +8611,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("SubjectVisit", t => + b.ToTable("SubjectVisit", null, t => { t.HasComment("受试者访视"); }); @@ -8677,7 +8677,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("SystemAnonymization", t => + b.ToTable("SystemAnonymization", null, t => { t.HasComment("系统 - 匿名化配置(需要同步)"); }); @@ -8743,7 +8743,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("ParentId"); - b.ToTable("SystemBasicData", t => + b.ToTable("SystemBasicData", null, t => { t.HasComment("系统 - 签名模板场景配置 (需要同步)"); }); @@ -8875,7 +8875,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("GroupId"); - b.ToTable("SystemClinicalQuestion", t => + b.ToTable("SystemClinicalQuestion", null, t => { t.HasComment("系统临床数据问题"); }); @@ -8974,7 +8974,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("SystemClinicalTableQuestion", t => + b.ToTable("SystemClinicalTableQuestion", null, t => { t.HasComment("系统临床表格问题"); }); @@ -9003,7 +9003,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("SystemCriterionDictionaryCode", t => + b.ToTable("SystemCriterionDictionaryCode", null, t => { t.HasComment("系统标准 - 字典配置 (需要同步)"); }); @@ -9054,7 +9054,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SystemDocumentId"); - b.ToTable("SystemDocConfirmedUser", t => + b.ToTable("SystemDocConfirmedUser", null, t => { t.HasComment("后台 - 系统文档签署记录"); }); @@ -9077,7 +9077,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SystemDocumentId"); - b.ToTable("SystemDocNeedConfirmedUserType", t => + b.ToTable("SystemDocNeedConfirmedUserType", null, t => { t.HasComment("后台 - 系统文档需要签署用户类型"); }); @@ -9134,7 +9134,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("FileTypeId"); - b.ToTable("SystemDocument", t => + b.ToTable("SystemDocument", null, t => { t.HasComment("后台 - 系统签署文档"); }); @@ -9204,7 +9204,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("PublishedUserId"); - b.ToTable("SystemNotice", t => + b.ToTable("SystemNotice", null, t => { t.HasComment("后台 - 系统通知"); }); @@ -9230,7 +9230,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SystemNoticeId"); - b.ToTable("SystemNoticeUserRead", t => + b.ToTable("SystemNoticeUserRead", null, t => { t.HasComment("后台 - 系统通知用户读取记录"); }); @@ -9261,7 +9261,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserTypeId"); - b.ToTable("SystemNoticeUserType", t => + b.ToTable("SystemNoticeUserType", null, t => { t.HasComment("后台 - 系统通知用户类型配置"); }); @@ -9321,7 +9321,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TaskAllocationRule", t => + b.ToTable("TaskAllocationRule", null, t => { t.HasComment("项目阅片 - 分配规则"); }); @@ -9392,7 +9392,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("TaskConsistentRule", t => + b.ToTable("TaskConsistentRule", null, t => { t.HasComment("项目阅片 - 一致性分析生成任务配置"); }); @@ -9427,7 +9427,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("OriginalTaskId"); - b.ToTable("TaskInfluence", t => + b.ToTable("TaskInfluence", null, t => { t.HasComment("项目阅片 - 退回重阅影响"); }); @@ -9559,7 +9559,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("TaskInstance", t => + b.ToTable("TaskInstance", null, t => { t.HasComment("项目阅片 - 任务后处理Instance"); }); @@ -9696,7 +9696,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("TaskMedicalReview", t => + b.ToTable("TaskMedicalReview", null, t => { t.HasComment("项目阅片 - 医学审核"); }); @@ -9751,7 +9751,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("DoctorUserId"); - b.ToTable("TaskMedicalReviewRule", t => + b.ToTable("TaskMedicalReviewRule", null, t => { t.HasComment("项目阅片 - 一致性分析规则"); }); @@ -9894,7 +9894,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("StudyId"); - b.ToTable("TaskSeries", t => + b.ToTable("TaskSeries", null, t => { t.HasComment("项目阅片 - 任务后上传序列"); }); @@ -10049,7 +10049,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("TaskStudy", t => + b.ToTable("TaskStudy", null, t => { t.HasComment("项目阅片 - 任务后上传检查"); }); @@ -10423,7 +10423,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("SponsorId"); - b.ToTable("Trial", t => + b.ToTable("Trial", null, t => { t.HasComment("项目 - 项目基本信息与配置"); }); @@ -10467,7 +10467,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialBodyPart", t => + b.ToTable("TrialBodyPart", null, t => { t.HasComment("项目 - 项目部位配置"); }); @@ -10504,7 +10504,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("TrialClinicalDataSetCriterion", t => + b.ToTable("TrialClinicalDataSetCriterion", null, t => { t.HasComment("项目标准 - 临床数据配置"); }); @@ -10642,7 +10642,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialClinicalId"); - b.ToTable("TrialClinicalQuestion", t => + b.ToTable("TrialClinicalQuestion", null, t => { t.HasComment("项目临床数据问题"); }); @@ -10754,7 +10754,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("TrialClinicalTableQuestion", t => + b.ToTable("TrialClinicalTableQuestion", null, t => { t.HasComment("项目临床表格问题"); }); @@ -10795,7 +10795,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("TrialCriterionAdditionalAssessmentType", t => + b.ToTable("TrialCriterionAdditionalAssessmentType", null, t => { t.HasComment("项目 - 项目标准附加评估配置"); }); @@ -10826,7 +10826,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialCriterionId"); - b.ToTable("TrialCriterionDictionaryCode"); + b.ToTable("TrialCriterionDictionaryCode", (string)null); }); modelBuilder.Entity("IRaCIS.Core.Domain.Models.TrialDicomAE", b => @@ -10882,7 +10882,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("TrialDicomAE", t => + b.ToTable("TrialDicomAE", null, t => { t.HasComment("项目 - 项目DicomAE"); }); @@ -10910,7 +10910,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialDictionary", t => + b.ToTable("TrialDictionary", null, t => { t.HasComment("项目 - 项目字典关系表"); }); @@ -10961,7 +10961,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialDocumentId"); - b.ToTable("TrialDocConfirmedUser", t => + b.ToTable("TrialDocConfirmedUser", null, t => { t.HasComment("项目 - 项目文档签署记录"); }); @@ -10984,7 +10984,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialDocumentId"); - b.ToTable("TrialDocNeedConfirmedUserType", t => + b.ToTable("TrialDocNeedConfirmedUserType", null, t => { t.HasComment("项目 - 项目文档需要签署的用户类型"); }); @@ -11049,7 +11049,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialDocument", t => + b.ToTable("TrialDocument", null, t => { t.HasComment("项目 - 项目文档"); }); @@ -11072,7 +11072,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserId"); - b.ToTable("TrialEmailBlackUser", t => + b.ToTable("TrialEmailBlackUser", null, t => { t.HasComment("项目 - 项目邮件用户黑名单"); }); @@ -11231,7 +11231,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("TrialEmailNoticeConfig", t => + b.ToTable("TrialEmailNoticeConfig", null, t => { t.HasComment("项目 - 项目发送邮件配置"); }); @@ -11255,7 +11255,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialEmailNoticeConfigId"); - b.ToTable("TrialEmailNoticeUser", t => + b.ToTable("TrialEmailNoticeUser", null, t => { t.HasComment("项目 - 项目邮件收发配置用户类型"); }); @@ -11326,7 +11326,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("PhaseId"); - b.ToTable("TrialExperience", t => + b.ToTable("TrialExperience", null, t => { t.HasComment("医生 - 项目临床经历"); }); @@ -11354,7 +11354,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialExperienceId"); - b.ToTable("TrialExperienceCriteria", t => + b.ToTable("TrialExperienceCriteria", null, t => { t.HasComment("医生 - 项目临床经历评估标准"); }); @@ -11438,7 +11438,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialExternalUser", t => + b.ToTable("TrialExternalUser", null, t => { t.HasComment("项目 - 项目外部人员"); }); @@ -11520,7 +11520,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialImageDownload", t => + b.ToTable("TrialImageDownload", null, t => { t.HasComment("项目 - 影像下载监控"); }); @@ -11574,7 +11574,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialPaymentPrice", t => + b.ToTable("TrialPaymentPrice", null, t => { t.HasComment("医生计费 - 项目支付配置"); }); @@ -11648,7 +11648,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialQCQuestion", t => + b.ToTable("TrialQCQuestion", null, t => { t.HasComment("项目 - 质控问题"); }); @@ -11698,7 +11698,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialQCQuestionConfigureId"); - b.ToTable("TrialQCQuestionAnswer", t => + b.ToTable("TrialQCQuestionAnswer", null, t => { t.HasComment("项目 - 质控问题表单答案"); }); @@ -11768,7 +11768,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("TrialRevenuesPrice", t => + b.ToTable("TrialRevenuesPrice", null, t => { t.HasComment("医生计费 - 项目工作量收入单价"); }); @@ -11825,7 +11825,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("TrialRevenuesPriceVerification", t => + b.ToTable("TrialRevenuesPriceVerification", null, t => { t.HasComment("医生计费 - 项目收入价格验证"); }); @@ -11868,7 +11868,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("TrialSign", t => + b.ToTable("TrialSign", null, t => { t.HasComment("项目 - 项目操作签名表"); }); @@ -11932,7 +11932,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialSite", t => + b.ToTable("TrialSite", null, t => { t.HasComment("项目 - 项目中心表"); }); @@ -11996,7 +11996,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("TrialSiteDicomAE", t => + b.ToTable("TrialSiteDicomAE", null, t => { t.HasComment("项目 - 项目中心DicomAE表"); }); @@ -12053,7 +12053,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteSurveyId"); - b.ToTable("TrialSiteEquipmentSurvey", t => + b.ToTable("TrialSiteEquipmentSurvey", null, t => { t.HasComment("项目 - 项目中心调研设备表"); }); @@ -12160,7 +12160,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialSiteId"); - b.ToTable("TrialSiteSurvey", t => + b.ToTable("TrialSiteSurvey", null, t => { t.HasComment("项目 - 项目中心调研表"); }); @@ -12211,7 +12211,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserId"); - b.ToTable("TrialSiteUser", t => + b.ToTable("TrialSiteUser", null, t => { t.HasComment("项目 - 项目中心用户关系表"); }); @@ -12300,7 +12300,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserTypeId"); - b.ToTable("TrialSiteUserSurvey", t => + b.ToTable("TrialSiteUserSurvey", null, t => { t.HasComment("项目 - 项目中心调研用户表"); }); @@ -12341,7 +12341,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialStateChange", t => + b.ToTable("TrialStateChange", null, t => { t.HasComment("项目 - 项目状态变更记录表"); }); @@ -12378,7 +12378,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("TrialStatus", t => + b.ToTable("TrialStatus", null, t => { t.HasComment("项目 - 入组流程记录"); }); @@ -12430,7 +12430,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserId"); - b.ToTable("TrialUser", t => + b.ToTable("TrialUser", null, t => { t.HasComment("运维人员与项目关联关系表 - 实体"); }); @@ -12459,7 +12459,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("TrialVirtualSiteCodeUpdate", t => + b.ToTable("TrialVirtualSiteCodeUpdate", null, t => { t.HasComment("项目 - 虚拟中心编号更新记录"); }); @@ -12488,7 +12488,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("TumorAssessment_IRECIST1Point1", t => + b.ToTable("TumorAssessment_IRECIST1Point1", null, t => { t.HasComment("IRECIST1Point1肿瘤评估(系统标准)"); }); @@ -12517,7 +12517,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("TumorAssessment_RECIST1Point1", t => + b.ToTable("TumorAssessment_RECIST1Point1", null, t => { t.HasComment("RECIST1Point1肿瘤评估(系统标准)"); }); @@ -12546,7 +12546,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("TumorAssessment_RECIST1Point1BM", t => + b.ToTable("TumorAssessment_RECIST1Point1BM", null, t => { t.HasComment("RECIST1Point1BM肿瘤评估(系统标准)"); }); @@ -12686,7 +12686,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserTypeId"); - b.ToTable("User", t => + b.ToTable("User", null, t => { t.HasComment("后台 - 系统账户"); }); @@ -12753,7 +12753,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitTaskId"); - b.ToTable("UserFeedBack", t => + b.ToTable("UserFeedBack", null, t => { t.HasComment("后台 - 用户反馈"); }); @@ -12807,7 +12807,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("OptUserId"); - b.ToTable("UserLog", t => + b.ToTable("UserLog", null, t => { t.HasComment("后台 - 用户账户操作日志"); }); @@ -12838,7 +12838,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("UserPassWordLog", t => + b.ToTable("UserPassWordLog", null, t => { t.HasComment("后台 - 用户修改密码"); }); @@ -12880,7 +12880,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("UserType", t => + b.ToTable("UserType", null, t => { t.HasComment("后台 - 系统用户类型 (需要同步)"); }); @@ -12903,7 +12903,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserTypeId"); - b.ToTable("UserTypeGroup", t => + b.ToTable("UserTypeGroup", null, t => { t.HasComment("后台 - 用户类型组(需要同步)"); }); @@ -12926,7 +12926,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("UserTypeId"); - b.ToTable("UserTypeMenu", t => + b.ToTable("UserTypeMenu", null, t => { t.HasComment("后台 - 系统用户类型菜单中间关系表 (需要同步)"); }); @@ -12968,7 +12968,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("UserWLTemplate", t => + b.ToTable("UserWLTemplate", null, t => { t.HasComment("用户配置 - WL模板"); }); @@ -13007,7 +13007,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("Vacation", t => + b.ToTable("Vacation", null, t => { t.HasComment("医生 - 假期安排"); }); @@ -13054,7 +13054,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("VerificationCode", t => + b.ToTable("VerificationCode", null, t => { t.HasComment("后台 - 验证码记录"); }); @@ -13081,7 +13081,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("VisitPlanInfluenceStat", t => + b.ToTable("VisitPlanInfluenceStat", null, t => { t.HasComment("项目配置 - 访视计划调整不一致数量记录表"); }); @@ -13142,7 +13142,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("VisitPlanInfluenceStatId"); - b.ToTable("VisitPlanInfluenceStudy", t => + b.ToTable("VisitPlanInfluenceStudy", null, t => { t.HasComment("项目配置 - 访视计划调整影像检查"); }); @@ -13223,7 +13223,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("VisitStage", t => + b.ToTable("VisitStage", null, t => { t.HasComment("项目配置 - 访视记录"); }); @@ -13478,7 +13478,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialReadingCriterionId"); - b.ToTable("VisitTask", t => + b.ToTable("VisitTask", null, t => { t.HasComment("项目阅片 - 阅片任务表"); }); @@ -13565,7 +13565,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("VisitTaskReReading", t => + b.ToTable("VisitTaskReReading", null, t => { t.HasComment("重阅申请流程记录表"); }); @@ -13602,7 +13602,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("CreateUserId"); - b.ToTable("VolumeReward", t => + b.ToTable("VolumeReward", null, t => { t.HasComment("医生计费 - 奖励"); }); @@ -13684,7 +13684,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasIndex("TrialId"); - b.ToTable("DoctorWorkload", t => + b.ToTable("DoctorWorkload", null, t => { t.HasComment("医生计费 - 工作量记录表"); }); @@ -13702,7 +13702,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations b.HasKey("Id"); - b.ToTable("TestLength"); + b.ToTable("TestLength", (string)null); }); modelBuilder.Entity("IRaCIS.Core.Domain.Models.Attachment", b =>