From dbca00a1e85d9b05de4f1d250b6eaf9dee8b5944 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 10 May 2022 13:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/DTO/SystemDocumentViewModel.cs | 3 +-- IRaCIS.Core.Domain/Trial/TrialSign.cs | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs index 2aaec363a..b907b15fa 100644 --- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs +++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs @@ -116,8 +116,7 @@ namespace IRaCIS.Core.Application.Contracts public class UserConfirmCommand { - public Guid TrialId { get; set; } - + [NotDefault] public Guid DocumentId { get; set; } diff --git a/IRaCIS.Core.Domain/Trial/TrialSign.cs b/IRaCIS.Core.Domain/Trial/TrialSign.cs index 5ff1ae69f..e0156cd22 100644 --- a/IRaCIS.Core.Domain/Trial/TrialSign.cs +++ b/IRaCIS.Core.Domain/Trial/TrialSign.cs @@ -31,8 +31,7 @@ namespace IRaCIS.Core.Domain.Models /// /// TrialId /// - [Required] - public Guid TrialId { get; set; } + public Guid? TrialId { get; set; } /// /// SubjectVisitId @@ -41,7 +40,7 @@ namespace IRaCIS.Core.Domain.Models //关联基础数据 - public Guid SignCodeId { get; set; } + public Guid? SignCodeId { get; set; } public string SignCode { get; set; }