using IRaCIS.Core.Domain.Share; namespace IRaCIS.Core.Domain.Models; [Comment("项目 - 项目中心调研表")] [Table("TrialSiteSurvey")] public class TrialSiteSurvey : BaseFullDeleteAuditEntity { #region 导航属性 [JsonIgnore] public List TrialSiteUserSurveyList { get; set; } = new List(); [JsonIgnore] public List TrialSiteEquipmentSurveyList { get; set; } = new List(); [JsonIgnore] public TrialSite TrialSite { get; set; } [JsonIgnore] public Trial Trial { get; set; } [JsonIgnore] public UserRole ReviewerUser { get; set; } [JsonIgnore] public UserRole PreliminaryUser { get; set; } [JsonIgnore] public CommonUploadRecord SiteSurveyFile { get; set; } [JsonIgnore] public List SiteSurveyLogList { get; set; }=new List(); #endregion public Guid TrialSiteId { get; set; } public TrialSiteSurveyEnum State { get; set; } = TrialSiteSurveyEnum.ToSubmit; public Guid TrialId { get; set; } public string UserName { get; set; } = string.Empty; public string Phone { get; set; } = string.Empty; public string Email { get; set; } = string.Empty; public int AverageEngravingCycle { get; set; } public bool IsConfirmImagingTechnologist { get; set; } public string NotConfirmReson { get; set; } = string.Empty; public int EfficacyEvaluatorType { get; set; } public bool IsFollowStudyParameters { get; set; } public string NotFollowReson { get; set; } = string.Empty; public string LatestBackReason { get; set; } = string.Empty; public Guid? PreliminaryUserId { get; set; } public Guid? ReviewerUserId { get; set; } public DateTime? PreliminaryTime { get; set; } public DateTime? ReviewerTime { get; set; } public Guid? CommonUploadRecordId { get; set; } [Comment("MRI-PDEE 是否为本中心该适应症的常规诊疗检查项目")] public bool? IsRoutineMRIPDEE { get; set; } [Comment("MRI-PDFF 单次检查时长")] public string MRIPDFFScanTime { get; set; } [Comment("MRI-PDFF 预约等待时长")] public string MRIPDFFLeadTime { get; set; } [Comment("MRI-PDEE 其他")] public string MRIPDFFOther { get; set; } [Comment("是否授权影像科老师参与")] public bool? IsAuthorizeRadiologistsParticipate { get; set; } [Comment("保持 1-2 名固定技师")] public bool? AssignFixedTechnologists { get; set; } [Comment("是否严格按照影像手册参数完成刻盘")] public bool? ISStrictManualBurnFlag { get; set; } [Comment("不严格按照影像手册参数完成刻盘原因")] public string NotStrictManualBurnFlagReason { get; set; } } public class SiteSurveyLog : BaseAddAuditEntity { [JsonIgnore] [ForeignKey("TrialSiteSurveyId")] public TrialSiteSurvey TrialSiteSurvey { get; set; } public Guid TrialSiteSurveyId { get; set; } public string Name { get; set; } public UserTypeEnum UserType { get; set; } public SiteSurveyOptTyp OptType { get; set; } public string Reason { get; set; } [MaxLength] public string Json { get; set; } [Comment("更新调研表之前的调研表")] public Guid? OriginTrialSiteSurveyId { get; set; } } public enum SiteSurveyOptTyp { Create = 0, Submit = 1, Approved = 2, Reject = 3, Update = 4, Over=5, }