95 lines
2.3 KiB
C#
95 lines
2.3 KiB
C#
|
|
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2022-01-25 13:26:03
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace IRaCIS.Core.Domain.Models
|
|
{
|
|
///<summary>
|
|
///DicomStudyMonitor
|
|
///</summary>
|
|
[Table("StudyMonitor")]
|
|
public class StudyMonitor : BaseAddAuditEntity
|
|
{
|
|
#region 导航属性
|
|
[JsonIgnore]
|
|
[ForeignKey("StudyId")]
|
|
public DicomStudy DicomStudy { get; set; }
|
|
[JsonIgnore]
|
|
[ForeignKey("StudyId")]
|
|
public NoneDicomStudy NoneDicomStudy { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("StudyId")]
|
|
public TaskStudy TaskStudy { get; set; }
|
|
[JsonIgnore]
|
|
[ForeignKey("SubjectId")]
|
|
public Subject Subject { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("SubjectVisitId")]
|
|
public SubjectVisit SubjectVisit { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("TrialId")]
|
|
public Trial Trial { get; set; }
|
|
[JsonIgnore]
|
|
[ForeignKey("CreateUserId")]
|
|
public User Uploader { get; set; }
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
//可能是Dicom 也可能是非Dicom 该字段废弃
|
|
public Guid StudyId { get; set; }
|
|
|
|
|
|
public DateTime UploadStartTime { get; set; }
|
|
|
|
|
|
public DateTime? UploadFinishedTime { get; set; }
|
|
|
|
|
|
public DateTime? ArchiveFinishedTime { get; set; }
|
|
|
|
public int FailedFileCount { get; set; }
|
|
|
|
|
|
public long FileSize { get; set; }
|
|
|
|
public string IP { get; set; }
|
|
|
|
|
|
public bool IsDicomReUpload { get; set; }
|
|
|
|
public bool IsDicom { get; set; }
|
|
|
|
public int FileCount { get; set; }
|
|
|
|
public string StudyCode { get; set; } = string.Empty;
|
|
|
|
|
|
public Guid TrialId { get; set; }
|
|
|
|
public Guid SubjectId { get; set; }
|
|
|
|
public Guid SubjectVisitId { get; set; }
|
|
|
|
|
|
|
|
public bool IsSuccess { get; set; }
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
public string RecordPath { get; set; }=string.Empty;
|
|
|
|
}
|
|
|
|
}
|