整理数据库实体备注
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 18:20:37 +08:00
parent d3e3ed79ba
commit 40c8a51a31
174 changed files with 5006 additions and 6652 deletions
@@ -1,137 +1,107 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models;
[Comment("表格问题答案行数据")]
[Table("ReadingTableAnswerRowInfo")]
public class ReadingTableAnswerRowInfo : BaseFullDeleteAuditEntity
{
///<summary>
/// 表格问题答案行数据
///</summary>
[Table("ReadingTableAnswerRowInfo")]
public class ReadingTableAnswerRowInfo : BaseFullDeleteAuditEntity
{
#region
[JsonIgnore]
[ForeignKey("InstanceId")]
public DicomInstance Instance { get; set; }
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
[JsonIgnore]
[ForeignKey("OrganInfoId")]
public OrganInfo OrganInfo { get; set; }
[JsonIgnore]
[ForeignKey("SplitRowId")]
public ReadingTableAnswerRowInfo SplitRow { get; set; }
[JsonIgnore]
[ForeignKey("MergeRowId")]
public ReadingTableAnswerRowInfo MergeRow { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
//病灶答案表
[JsonIgnore]
public List<ReadingTableQuestionAnswer> LesionAnswerList { get; set; } = new List<ReadingTableQuestionAnswer>();
#endregion
public Guid QuestionId { get; set; }
public Guid VisitTaskId { get; set; }
#region
[JsonIgnore]
[ForeignKey("InstanceId")]
public DicomInstance Instance { get; set; }
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
[JsonIgnore]
[ForeignKey("OrganInfoId")]
public OrganInfo OrganInfo { get; set; }
[JsonIgnore]
[ForeignKey("SplitRowId")]
public ReadingTableAnswerRowInfo SplitRow { get; set; }
[JsonIgnore]
[ForeignKey("MergeRowId")]
public ReadingTableAnswerRowInfo MergeRow { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
//病灶答案表
[JsonIgnore]
public List<ReadingTableQuestionAnswer> LesionAnswerList { get; set; } = new List<ReadingTableQuestionAnswer>();
#endregion
public Guid QuestionId { get; set; }
public Guid VisitTaskId { get; set; }
public Guid TrialId { get; set; }
public Guid? InstanceId { get; set; }
public Guid TrialId { get; set; }
public Guid? InstanceId { get; set; }
public Guid? SeriesId { get; set; }
public Guid? StudyId { get; set; }
public Guid? SeriesId { get; set; }
public Guid? StudyId { get; set; }
public Guid? OtherInstanceId { get; set; }
public Guid? OtherInstanceId { get; set; }
public Guid? OtherSeriesId { get; set; }
public Guid? OtherSeriesId { get; set; }
public Guid? OtherStudyId { get; set; }
public Guid? OtherStudyId { get; set; }
public string OtherMarkTool { get; set; } = string.Empty;
public string OtherMarkTool { get; set; } = string.Empty;
public string OtherPicturePath { get; set; } = string.Empty;
public string OtherPicturePath { get; set; } = string.Empty;
public int? OtherNumberOfFrames { get; set; }
public int? OtherNumberOfFrames { get; set; }
public bool IsCanEditPosition { get; set; } = false;
/// <summary>
/// 是Dicom阅片
/// </summary>
public bool IsDicomReading { get; set; } = true;
public bool IsCanEditPosition { get; set; } = false;
[Comment("是Dicom阅片")]
public bool IsDicomReading { get; set; } = true;
public decimal RowIndex { get; set; }
public decimal RowIndex { get; set; }
public string MeasureData { get; set; } = string.Empty;
public string MeasureData { get; set; } = string.Empty;
/// <summary>
/// 是否是当前任务添加
/// </summary>
public bool IsCurrentTaskAdd { get; set; } = false;
[Comment("是否是当前任务添加")]
public bool IsCurrentTaskAdd { get; set; } = false;
public Guid? SplitRowId { get; set; }
public Guid? SplitRowId { get; set; }
public Guid? MergeRowId { get; set; }
public Guid? MergeRowId { get; set; }
public string BlindName { get; set; } = string.Empty;
public string BlindName { get; set; } = string.Empty;
public string OrderMark { get; set; } = string.Empty;
public string OrderMark { get; set; } = string.Empty;
/// <summary>
/// 截图地址
/// </summary>
public string PicturePath { get; set; } = string.Empty;
[Comment("截图地址")]
public string PicturePath { get; set; } = string.Empty;
/// <summary>
/// 第一次添加的任务ID
/// </summary>
public decimal FristAddTaskNum { get; set; } = 0;
[Comment("第一次添加的任务ID")]
public decimal FristAddTaskNum { get; set; } = 0;
/// <summary>
/// 首次添加任务ID
/// </summary>
public Guid FristAddTaskId { get; set; }
[Comment("首次添加任务ID")]
public Guid FristAddTaskId { get; set; }
/// <summary>
/// 融合的PTSeriesId
/// </summary>
public Guid? PTSeriesId { get; set; }
[Comment("融合的PTSeriesId")]
public Guid? PTSeriesId { get; set; }
/// <summary>
/// 融合的CTSeriesId
/// </summary>
public Guid? CTSeriesId { get; set; }
[Comment("融合的CTSeriesId")]
public Guid? CTSeriesId { get; set; }
public SplitOrMergeType? SplitOrMergeType { get; set; }
public int? NumberOfFrames { get; set; }
/// <summary>
/// 器官Id
/// </summary>
public Guid? OrganInfoId { get; set; }
/// <summary>
/// 窗宽WW
/// </summary>
public decimal? WW { get; set; }
public SplitOrMergeType? SplitOrMergeType { get; set; }
public int? NumberOfFrames { get; set; }
[Comment("器官Id")]
public Guid? OrganInfoId { get; set; }
[Comment("窗宽WW")]
public decimal? WW { get; set; }
/// <summary>
/// 窗位WL
/// </summary>
public decimal? WL { get; set; }
[Comment("窗位WL")]
public decimal? WL { get; set; }
/// <summary>
/// 来自于哪个标记
/// </summary>
public string FromMark { get; set; } = string.Empty;
[Comment("来自于哪个标记")]
public string FromMark { get; set; } = string.Empty;
/// <summary>
/// 报告页面显示来自于哪个标记
/// </summary>
public string ReportMark { get; set; } = string.Empty;
public string OtherMeasureData { get; set; } = string.Empty;
//病灶编号
public string RowMark { get; set; } = string.Empty;
[Comment("报告页面显示来自于哪个标记")]
public string ReportMark { get; set; } = string.Empty;
public string OtherMeasureData { get; set; } = string.Empty;
//病灶编号
public string RowMark { get; set; } = string.Empty;
/// <summary>
/// 标记工具
/// </summary>
public string MarkTool { get; set; } = string.Empty;
}
[Comment("标记工具")]
public string MarkTool { get; set; } = string.Empty;
}