添加项目文件。
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-11 11:19:10
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
///<summary>
|
||||
///TrialQCQuestionConfigure
|
||||
///</summary>
|
||||
[Table("TrialQCQuestion")]
|
||||
public class TrialQCQuestion : Entity, IAuditUpdate, IAuditAdd
|
||||
{
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// TrialId
|
||||
/// </summary>
|
||||
[Required]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QuestionName
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// IsRequired
|
||||
/// </summary>
|
||||
[Required]
|
||||
public bool IsRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// IsEnable
|
||||
/// </summary>
|
||||
[Required]
|
||||
public bool IsEnable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下拉框、文本、单选、多选
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
[ForeignKey("ParentId")]
|
||||
public TrialQCQuestion ParentQCQuestion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// TypeValue
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string TypeValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChildInvalidValue
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string ParentTriggerValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ShowOrder
|
||||
/// </summary>
|
||||
[Required]
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CreateUserId
|
||||
/// </summary>
|
||||
[Required]
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CreateTime
|
||||
/// </summary>
|
||||
[Required]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// UpdateTime
|
||||
/// </summary>
|
||||
[Required]
|
||||
public DateTime UpdateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// UpdateUserId
|
||||
/// </summary>
|
||||
[Required]
|
||||
public Guid UpdateUserId { get; set; }
|
||||
|
||||
|
||||
public List<TrialQCQuestionAnswer> TrialQCQuestionAnswerList { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user