整理数据库实体备注
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 18:20:37 +08:00
parent d3e3ed79ba
commit 40c8a51a31
174 changed files with 5006 additions and 6652 deletions
+26 -30
View File
@@ -1,38 +1,34 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models;
[Table("TrialQCQuestion")]
public class TrialQCQuestion : BaseFullAuditEntity
{
///<summary>
///TrialQCQuestionConfigure
///</summary>
[Table("TrialQCQuestion")]
public class TrialQCQuestion : BaseFullAuditEntity
{
#region
[JsonIgnore]
public Trial Trial { get; set; }
[JsonIgnore]
[ForeignKey("ParentId")]
public TrialQCQuestion ParentQCQuestion { get; set; }
#region
[JsonIgnore]
public Trial Trial { get; set; }
[JsonIgnore]
[ForeignKey("ParentId")]
public TrialQCQuestion ParentQCQuestion { get; set; }
[JsonIgnore]
public List<TrialQCQuestionAnswer> TrialQCQuestionAnswerList { get; set; }
[JsonIgnore]
public List<TrialQCQuestionAnswer> TrialQCQuestionAnswerList { get; set; }
#endregion
public Guid TrialId { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary> 语言类型 </summary>
#endregion
public Guid TrialId { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary> 语言类型 </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
/// <summary> 下拉框、文本、单选、多选 </summary>
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; }
/// <summary> 下拉框、文本、单选、多选 </summary>
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; }
}
public bool? IsConfirm { get; set; }
}