//-------------------------------------------------------------------- // 此代码由T4模板自动生成 byzhouhang 20210918 // 生成时间 2021-11-11 11:19:10 // 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 using IRaCIS.Core.Domain.Share; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace IRaCIS.Core.Domain.Models { /// ///QCQuestionConfigure /// [Table("QCQuestion")] public class QCQuestion : BaseFullAuditEntity { #region 导航属性 [JsonIgnore] [ForeignKey("ParentId")] public QCQuestion ParentQuestion { get; set; } #endregion public string QuestionName { get; set; } = string.Empty; /// 语言类型 public LanguageType LanguageType { get; set; } = LanguageType.Chinese; public bool IsRequired { get; set; } public bool IsEnable { get; set; } /// 下拉框、文本、单选、多选 public string Type { get; set; } = string.Empty; public string TypeValue { get; set; } = string.Empty; public string ParentTriggerValue { get; set; } public Guid? ParentId { get; set; } public int ShowOrder { get; set; } } }