//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-08-26 10:38:09
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace IRaCIS.Core.Domain.Models
{
///
/// 表格问题答案行数据
///
[Table("ReadingTableAnswerRowInfo")]
public class ReadingTableAnswerRowInfo : Entity, IAuditAdd, IAuditUpdate, ISoftDelete
{
[JsonIgnore]
[ForeignKey("InstanceId")]
public DicomInstance Instance { get; set; }
///
/// 第一层的Question
///
public Guid QuestionId { get; set; }
///
/// VisitTaskId
///
public Guid VisitTaskId { get; set; }
///
/// TrialId
///
public Guid TrialId { get; set; }
///
/// InstanceId
///
public Guid? InstanceId { get; set; }
///
/// SeriesId
///
public Guid? SeriesId { get; set; }
///
/// StudyId
///
public Guid? StudyId { get; set; }
public bool IsCanEditPosition { get; set; } = false;
///
/// 是Dicom阅片
///
public bool IsDicomReading { get; set; } = true;
///
/// RowIndex
///
public decimal RowIndex { get; set; }
///
/// MeasureData
///
public string MeasureData { get; set; } = string.Empty;
///
/// CreateTime
///
public DateTime CreateTime { get; set; }
///
/// 是否是当前任务添加
///
public bool IsCurrentTaskAdd { get; set; } = false;
///
/// SplitRowId
///
public Guid? SplitRowId { get; set; }
///
/// MergeRowId
///
public Guid? MergeRowId { get; set; }
public string BlindName { get; set; } = string.Empty;
public string OrderMark { get; set; } = string.Empty;
///
/// 截图地址
///
public string PicturePath { get; set; } = string.Empty;
///
/// 第一次添加的任务ID
///
public decimal FristAddTaskNum { get; set; } = 0;
public SplitOrMergeType? SplitOrMergeType { get; set; }
///
/// CreateUserId
///
public Guid CreateUserId { get; set; }
public int? NumberOfFrames { get; set; }
public Guid UpdateUserId { get; set; }
//string UpdateUserName { get; set; }
public DateTime UpdateTime { get; set; }
///
/// 器官Id
///
public Guid? OrganInfoId { get; set; }
public bool IsDeleted { get; set; }
public DateTime? DeletedTime { get; set; }
public Guid? DeleteUserId { 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; }
//病灶编号
public string RowMark { get; set; } = string.Empty;
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
//病灶答案表
[JsonIgnore]
public List LesionAnswerList { get; set; } = new List();
}
}