82 lines
1.7 KiB
C#
82 lines
1.7 KiB
C#
|
|
|
|
using System;
|
|
using IRaCIS.Core.Domain.Share;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Collections.Generic;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace IRaCIS.Core.Domain.Models;
|
|
|
|
[Comment("项目阅片 - 临床数据")]
|
|
[Table("ReadingClinicalData")]
|
|
public class ReadingClinicalData : BaseAddAuditEntity
|
|
{
|
|
#region 导航属性
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("ClinicalDataTrialSetId")]
|
|
|
|
public ClinicalDataTrialSet ClinicalDataTrialSet { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("StudyId")]
|
|
public DicomStudy DicomStudy { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("TrialId")]
|
|
public Trial Trial { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("ReadingId")]
|
|
public SubjectVisit SubjectVisit { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("SubjectId")]
|
|
public Subject Subject { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("ReadingId")]
|
|
|
|
public ReadModule ReadModule { get; set; }
|
|
|
|
/// <summary>
|
|
/// PDF文件
|
|
/// </summary>
|
|
[JsonIgnore]
|
|
public List<ReadingClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
|
|
#endregion
|
|
|
|
[Comment("临床数据类型Id")]
|
|
public Guid ClinicalDataTrialSetId { get; set; }
|
|
|
|
public int FileCount { get; set; }
|
|
|
|
public bool? IsBlind { get; set; }
|
|
|
|
public bool? IsComplete { get; set; }
|
|
|
|
public bool IsSign { get; set; }
|
|
|
|
public bool IsVisit { get; set; }
|
|
|
|
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
|
|
|
public Guid ReadingId { get; set; }
|
|
|
|
public Guid? StudyId { get; set; }
|
|
|
|
public Guid SubjectId { get; set; }
|
|
|
|
public Guid TrialId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|