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("ReadingQuestionTrial")] public class ReadingQuestionTrial : Entity, IAuditAdd { /// /// 项目标准Id /// public Guid ReadingQuestionCriterionTrialId { get; set; } /// /// 项目Id /// public Guid TrialId { get; set; } /// /// 类型 /// public string Type { get; set; } /// /// 父问题触发 /// public string ParentTriggerValue { get; set; } /// /// 问题名称 /// public string QuestionName { get; set; } /// /// 是否是必须 /// public bool IsRequired { get; set; } /// /// 排序 /// public int ShowOrder { get; set; } /// /// 父问题ID /// public Guid? ParentId { get; set; } /// /// 类型值 /// public string TypeValue { get; set; } public bool IsEnable { get; set; } /// /// 是否是裁判问题 /// public bool IsJudgeQuestion { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 分组 /// public string GroupName { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 系统问题ID /// public Guid? ReadingQuestionSystemId { get; set; } /// /// 答案分组 /// public string AnswerGroup { get; set; } /// /// 创建人 /// public Guid CreateUserId { get; set; } [ForeignKey("ParentId")] public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; } [ForeignKey("ReadingQuestionCriterionTrialId")] public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; } } }