using IRaCIS.Core.Domain.Share; namespace IRaCIS.Core.Domain.Models { /// /// 阅片医学审核系统问题 /// [Table("ReadingMedicineSystemQuestion")] public class ReadingMedicineSystemQuestion : BaseFullAuditEntity { #region 导航属性 [JsonIgnore] [ForeignKey("ParentId")] public ReadingMedicineSystemQuestion ParentQuestion { get; set; } //// |1|2| 这种保存 // public string CriterionEnumStr { get; set; } = string.Empty; // [NotMapped] // public List CriterionEnumList => CriterionEnumStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).Select(t=> Convert.ToInt32(t.Trim()) ).ToList( #endregion /// /// 类型 /// public string Type { get; set; } = string.Empty; /// /// 父问题触发 /// public string ParentTriggerValue { get; set; } = string.Empty; /// /// 问题名称 /// public string QuestionName { get; set; } = string.Empty; /// /// 语言类型 /// public LanguageType LanguageType { get; set; } = LanguageType.Chinese; /// /// 是否是必须 /// public bool IsRequired { get; set; } /// /// 排序 /// public int ShowOrder { get; set; } /// /// 父问题ID /// public Guid? ParentId { get; set; } /// /// 类型值 /// public string TypeValue { get; set; } = string.Empty; /// /// 是否启用 /// public bool IsEnable { get; set; } /// /// 任务类型 /// public ReadingCategory ReadingCategory { get; set; } public CriterionType? CriterionTypeEnum { get; set; } public bool IsGeneral { get; set; } } }