@@ -1,35 +1,31 @@
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Table("NoneDicomStudyFile")]
|
||||
public class NoneDicomStudyFile : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[ForeignKey("NoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy NoneDicomStudy { get; set; }
|
||||
[JsonIgnore]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
|
||||
[Table("NoneDicomStudyFile")]
|
||||
public class NoneDicomStudyFile : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[ForeignKey("NoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy NoneDicomStudy { get; set; }
|
||||
[JsonIgnore]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
[ForeignKey("OriginNoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy OriginNoneDicomStudy { get; set; }
|
||||
#endregion
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
|
||||
[ForeignKey("OriginNoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy OriginNoneDicomStudy { get; set; }
|
||||
#endregion
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public string FileType { get; set; } = string.Empty;
|
||||
|
||||
public string FileType { get; set; } = string.Empty;
|
||||
|
||||
public long? FileSize { get; set; }
|
||||
#region 跟任务绑定 同时区分检查
|
||||
|
||||
public Guid? VisitTaskId { get; set; }
|
||||
/// <summary>
|
||||
/// 为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑
|
||||
/// </summary>
|
||||
public Guid? OriginNoneDicomStudyId { get; set; }
|
||||
#endregion
|
||||
}
|
||||
public long? FileSize { get; set; }
|
||||
#region 跟任务绑定 同时区分检查
|
||||
|
||||
public Guid? VisitTaskId { get; set; }
|
||||
[Comment("为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑")]
|
||||
public Guid? OriginNoneDicomStudyId { get; set; }
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user