using IRaCIS.Core.Domain.Share; namespace IRaCIS.Core.Domain.Models { /// ///阅片医学审核对话 /// [Table("ReadingMedicalReviewDialog")] public class ReadingMedicalReviewDialog : BaseAddAuditEntity { #region 导航属性 [JsonIgnore] [ForeignKey("TaskMedicalReviewId")] public TaskMedicalReview TaskMedicalReview { get; set; } /// /// 文件 /// [NotMapped] public List FileList { get { try { var result = JsonConvert.DeserializeObject>(this.ImagePath); return result == null ? new List() : result; } catch (Exception) { return new List(); } } } #endregion /// /// 医学审核Id /// public Guid TaskMedicalReviewId { get; set; } /// /// 任务Id /// public Guid VisitTaskId { get; set; } /// /// 对话内容 /// public string Content { get; set; } = string.Empty; /// /// 用户角色 /// public string UserTypeShortName { get; set; } = string.Empty; /// /// 医学审核对话关闭原因 /// public MedicalDialogClose? MedicalDialogCloseEnum { get; set; } /// /// 用户角色枚举 /// public int UserTypeEnumInt { get; set; } /// /// 阅片人是否认同 /// public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; } = MedicalReviewDoctorUserIdea.defalut; /// /// 是否有问题 /// public bool IsHaveQuestion { get; set; } = false; /// /// 质询问题 /// public string Questioning { get; set; } = string.Empty; /// /// 审核建议 /// public AuditAdvice AuditAdviceEnum { get; set; } = AuditAdvice.None; /// /// 不同意重阅原因 /// public string DisagreeReason { get; set; } = string.Empty; /// /// 是否申请重阅 /// public bool? IsApplyHeavyReading { get; set; } /// /// 图片路径 /// public string ImagePath { get; set; } = string.Empty; /// /// 文件名称 /// public string FileName { get; set; } = string.Empty; } }