35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
using IRaCIS.Core.Domain.Share;
 | 
						|
namespace IRaCIS.Core.Domain.Models;
 | 
						|
 | 
						|
[Comment("项目 - 质控问题")]
 | 
						|
[Table("TrialQCQuestion")]
 | 
						|
public class TrialQCQuestion : BaseFullAuditEntity
 | 
						|
{
 | 
						|
    #region 导航属性
 | 
						|
    [JsonIgnore]
 | 
						|
    public Trial Trial { get; set; }
 | 
						|
    [JsonIgnore]
 | 
						|
    [ForeignKey("ParentId")]
 | 
						|
    public TrialQCQuestion ParentQCQuestion { get; set; }
 | 
						|
 | 
						|
    [JsonIgnore]
 | 
						|
    public List<TrialQCQuestionAnswer> TrialQCQuestionAnswerList { get; set; }
 | 
						|
 | 
						|
    #endregion
 | 
						|
    public Guid TrialId { get; set; }
 | 
						|
    public string QuestionName { get; set; } = string.Empty;
 | 
						|
    [Comment("语言类型")]
 | 
						|
    public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
 | 
						|
    public bool IsRequired { get; set; }
 | 
						|
    public bool IsEnable { get; set; }
 | 
						|
 | 
						|
    [Comment("下拉框、文本、单选、多选")]
 | 
						|
    public string Type { get; set; } = string.Empty;
 | 
						|
    public Guid? ParentId { get; set; }
 | 
						|
    public string TypeValue { get; set; } = string.Empty;
 | 
						|
    public string ParentTriggerValue { get; set; } = string.Empty;
 | 
						|
    public int ShowOrder { get; set; }
 | 
						|
 | 
						|
    public bool? IsConfirm { get; set; }
 | 
						|
}
 |