97 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
namespace IRaCIS.Core.Domain.Models;
 | 
						|
 | 
						|
[Comment("归档 -  Instance表")]
 | 
						|
[Table("DicomInstance")]
 | 
						|
public class DicomInstance : BaseFullDeleteAuditEntity, IEntitySeqId
 | 
						|
{
 | 
						|
    #region 导航属性
 | 
						|
    [JsonIgnore]
 | 
						|
    [ForeignKey("SeriesId")]
 | 
						|
    public DicomSeries DicomSerie { get; set; }
 | 
						|
 | 
						|
    [JsonIgnore]
 | 
						|
    [ForeignKey("StudyId")]
 | 
						|
    public DicomStudy DicomStudy { get; set; }
 | 
						|
 | 
						|
    [JsonIgnore]
 | 
						|
    public List<ReadingTableAnswerRowInfo> ReadingTableAnswerRowInfoList { get; set; }
 | 
						|
    #endregion
 | 
						|
 | 
						|
    public bool Anonymize { get; set; }
 | 
						|
 | 
						|
    public bool CPIStatus { get; set; }
 | 
						|
 | 
						|
    public long? FileSize { get; set; }
 | 
						|
 | 
						|
    public string FrameOfReferenceUID { get; set; } = null!;
 | 
						|
 | 
						|
    [StringLength(1000)]
 | 
						|
    public string HtmlPath { get; set; } = null!;
 | 
						|
 | 
						|
    public int ImageColumns { get; set; }
 | 
						|
 | 
						|
    public int ImageRows { get; set; }
 | 
						|
 | 
						|
 | 
						|
    public string ImagerPixelSpacing { get; set; } = null!;
 | 
						|
 | 
						|
    public int InstanceNumber { get; set; }
 | 
						|
 | 
						|
    public DateTime? InstanceTime { get; set; }
 | 
						|
 | 
						|
    public int NumberOfFrames { get; set; }
 | 
						|
 | 
						|
    [StringLength(1000)]
 | 
						|
    public string Path { get; set; } = null!;
 | 
						|
 | 
						|
 | 
						|
    public string PixelSpacing { get; set; } = null!;
 | 
						|
 | 
						|
    public Guid SeqId { get; set; }
 | 
						|
 | 
						|
    public Guid SeriesId { get; set; }
 | 
						|
 | 
						|
    public string SeriesInstanceUid { get; set; } = null!;
 | 
						|
 | 
						|
    public int SliceLocation { get; set; }
 | 
						|
 | 
						|
 | 
						|
    public string SliceThickness { get; set; } = null!;
 | 
						|
 | 
						|
    public string SopInstanceUid { get; set; } = null!;
 | 
						|
 | 
						|
    public Guid StudyId { get; set; }
 | 
						|
 | 
						|
    public string StudyInstanceUid { get; set; } = null!;
 | 
						|
 | 
						|
    public Guid SubjectId { get; set; }
 | 
						|
 | 
						|
    public Guid SubjectVisitId { get; set; }
 | 
						|
 | 
						|
    public Guid TrialId { get; set; }
 | 
						|
 | 
						|
 | 
						|
    public string WindowCenter { get; set; } = null!;
 | 
						|
 | 
						|
 | 
						|
    public string WindowWidth { get; set; } = null!;
 | 
						|
 | 
						|
    public bool IsReading { get; set; } = true;
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    #region DIR 增加
 | 
						|
 | 
						|
    public string SOPClassUID { get; set; }
 | 
						|
 | 
						|
    public string MediaStorageSOPClassUID { get; set; }
 | 
						|
 | 
						|
    public string TransferSytaxUID { get; set; }
 | 
						|
 | 
						|
    public string MediaStorageSOPInstanceUID { get; set; }
 | 
						|
 | 
						|
    public bool IsEncapsulated { get; set; }
 | 
						|
 | 
						|
    #endregion
 | 
						|
}
 |