@@ -3,62 +3,63 @@
|
||||
// 生成时间 2021-11-11 11:19:10
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("项目 - 质控问题")]
|
||||
[Table("TrialQCQuestion")]
|
||||
public class TrialQCQuestion : BaseFullAuditEntity
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
public Trial Trial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ParentId")]
|
||||
public TrialQCQuestion ParentQCQuestion { get; set; }
|
||||
///<summary>
|
||||
///TrialQCQuestionConfigure
|
||||
///</summary>
|
||||
[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; }
|
||||
[JsonIgnore]
|
||||
public List<TrialQCQuestionAnswer> TrialQCQuestionAnswerList { get; set; }
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
|
||||
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 TrialId { get; set; }
|
||||
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
/// <summary> 语言类型 </summary>
|
||||
|
||||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
||||
|
||||
|
||||
public string TypeValue { get; set; } = string.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
|
||||
|
||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||
public bool IsEnable { get; set; }
|
||||
|
||||
/// <summary> 下拉框、文本、单选、多选 </summary>
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public int ShowOrder { get; set; }
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
public bool? IsConfirm { 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; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user