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("ReadingQuestionCriterionTrial")]
public class ReadingQuestionCriterionTrial : Entity, IAuditAdd
{
///
/// 系统标准ID
///
public Guid? ReadingQuestionCriterionSystemId { get; set; }
///
/// 项目Id
///
public Guid TrialId { get; set; }
///
/// 标准
///
public string CriterionName { get; set; }
///
/// 是否启用
///
public bool IsEnable { get; set; }
///
/// 排序
///
public int ShowOrder { get; set; }
///
/// 是否完成配置
///
public bool IsCompleteConfig { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建人
///
public Guid CreateUserId { get; set; }
///
/// 描述
///
public string Description { get; set; }
///
/// 是否确认
///
public bool IsConfirm { get; set; }
///
/// 表单类型
///
public FormType FormType { get; set; } = FormType.SinglePage;
///
/// 修约小数点
///
public int? DigitPlaces { get; set; } = 2;
///
/// 评估结果
///
public string EvaluationResult { get; set; } = string.Empty;
///
/// 全局阅片评估更新类型
///
public string GlobalUpdateType { get; set; } = string.Empty;
///
/// 评估原因
///
public string EvaluationReason { get; set; } = "肿瘤学阅片评估原因请依据临床数据填写,在与影像学结果不一致时必填。";
///
/// 是否显示详情
///
public bool IsShowDetail { get; set; }
///
/// 同步时间
///
public DateTime SynchronizeTime { get; set; }
///
/// 同步器官时间
///
public DateTime? SynchronizeOriginalTime { get; set; }
///
/// 项目
///
[ForeignKey("TrialId")]
[JsonIgnore]
public Trial Trial { get; set; }
[JsonIgnore]
public List ReadingQuestionTrialList = new List();
}
}