修改 trila subjectVisit
This commit is contained in:
@@ -10,12 +10,13 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public class SubjectVisit : Entity, IAuditUpdate, IAuditAdd, ISoftDelete
|
||||
{
|
||||
//一个访视 对应有对应Site的 TrialSiteCode 所以 fluentApi中配置 TrialSite 连表用TrialId SiteId 双字段
|
||||
[JsonIgnore]
|
||||
public TrialSite TrialSite { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public VisitStage VisitStage { get; set; }
|
||||
public Guid? VisitStageId { get; set; }
|
||||
public int VisitDay { get; set; }
|
||||
@@ -118,6 +119,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
/// </summary>
|
||||
public Guid? OutPlanPreviousVisitId { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("OutPlanPreviousVisitId")]
|
||||
public SubjectVisit OutPlanPreviousVisit { get; set; }
|
||||
|
||||
@@ -125,6 +127,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
//public DateTime? ClinicalDataSignTime { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ClinicalDataSignUserId")]
|
||||
public User ClinicalDataSignUser { get; set; }
|
||||
|
||||
@@ -132,12 +135,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public User ForwardUser { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("PreliminaryAuditUserId")]
|
||||
public User PreliminaryAuditUser { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ReviewAuditUserId")]
|
||||
public User ReviewAuditUser { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("CurrentActionUserId")]
|
||||
public User CurrentActionUser { get; set; }
|
||||
|
||||
@@ -172,12 +178,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
|
||||
//导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TrialId")]
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("SiteId")]
|
||||
public Site Site { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("SubjectId")]
|
||||
public Subject Subject { get; set; }
|
||||
|
||||
@@ -188,28 +197,28 @@ namespace IRaCIS.Core.Domain.Models
|
||||
////一个访视 对应该Site下的多个CRC管理 必须加这个 不然生成的sql 会报 TrialSiteUserId 不存在该列名
|
||||
|
||||
//public List<TrialSiteUser> TrialSiteUserList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<PreviousHistory> PreviousHistoryList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<PreviousOther> PreviousOtherList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<PreviousSurgery> PreviousSurgeryList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<PreviousPDF> PreviousPDFList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<ReadingClinicalData> ReadingClinicalDataList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<CheckChallengeDialog> CheckChallengeDialogList { get; set; } = new List<CheckChallengeDialog>();
|
||||
|
||||
[JsonIgnore]
|
||||
public List<DicomStudy> StudyList { get; set; } = new List<DicomStudy>();
|
||||
|
||||
[JsonIgnore]
|
||||
public List<NoneDicomStudy> NoneDicomStudyList { get; set; } = new List<NoneDicomStudy>();
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public List<QCChallenge> QCChallengeList { get; set; } = new List<QCChallenge>();
|
||||
|
||||
[JsonIgnore]
|
||||
public List<QCChallengeDialog> QCChallengeDialogList { get; set; } = new List<QCChallengeDialog>();
|
||||
|
||||
[JsonIgnore]
|
||||
public List<VisitTask> VisitTaskList { get; set; } = new List<VisitTask>();
|
||||
|
||||
public ReadingStatusEnum ReadingStatus { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user