126 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			126 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			C#
		
	
	
//--------------------------------------------------------------------
 | 
						|
//     此代码由T4模板自动生成  byzhouhang 20210918
 | 
						|
//	   生成时间 2021-11-11 11:48:52 
 | 
						|
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
 | 
						|
//--------------------------------------------------------------------
 | 
						|
using IRaCIS.Core.Domain.Share;
 | 
						|
namespace IRaCIS.Core.Application.Contracts
 | 
						|
{
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// 
 | 
						|
    /// </summary>
 | 
						|
    public class QCQuestionViewInDto
 | 
						|
    {
 | 
						|
        public Guid? TrialId { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
    public class QCQuestionView
 | 
						|
    {
 | 
						|
        public Guid Id { 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 string Type { get; set; } = String.Empty;
 | 
						|
        public string ParentTriggerValue { get; set; }
 | 
						|
        public Guid? ParentId { get; set; }
 | 
						|
        public string TypeValue { get; set; } = String.Empty;
 | 
						|
        public int ShowOrder { get; set; }
 | 
						|
 | 
						|
        public int? ParentShowOrder { get; set; }
 | 
						|
        public Guid CreateUserId { get; set; }
 | 
						|
        public DateTime CreateTime { get; set; }
 | 
						|
        public DateTime UpdateTime { get; set; }
 | 
						|
        public Guid UpdateUserId { get; set; }
 | 
						|
 | 
						|
 | 
						|
        public List<QCQuestionView> Childrens = new List<QCQuestionView>();
 | 
						|
    }
 | 
						|
 | 
						|
    /// <summary> QCQuestionConfigureView  列表视图模型 </summary>
 | 
						|
    public class QCQuestionConfigureView
 | 
						|
    {
 | 
						|
        public Guid Id { 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 string Type { get; set; } = String.Empty;
 | 
						|
        public string ParentTriggerValue { get; set; }
 | 
						|
        public Guid? ParentId { get; set; }
 | 
						|
        public string TypeValue { get; set; } = String.Empty;
 | 
						|
        public int ShowOrder { get; set; }
 | 
						|
 | 
						|
        public string ParentQuestionName { get; set; } = String.Empty;
 | 
						|
 | 
						|
 | 
						|
        public int? ParentShowOrder { get; set; }
 | 
						|
        public Guid CreateUserId { get; set; }
 | 
						|
        public DateTime CreateTime { get; set; }
 | 
						|
        public DateTime UpdateTime { get; set; }
 | 
						|
        public Guid UpdateUserId { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
    ///<summary>QCQuestionQuery  列表查询参数模型</summary>
 | 
						|
    public class QCQuestionQuery : PageInput
 | 
						|
    {
 | 
						|
        ///<summary> QuestionName</summary>
 | 
						|
        public string QuestionName { get; set; } = String.Empty;
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 语言类型
 | 
						|
        /// </summary>
 | 
						|
        public LanguageType? LanguageType { get; set; }
 | 
						|
 | 
						|
        ///<summary> TypeValue</summary>
 | 
						|
        public string Type { get; set; } = String.Empty;
 | 
						|
 | 
						|
        public bool? IsEnable { get; set; }
 | 
						|
 | 
						|
 | 
						|
        public bool IsDefeaultViewParent { get; set; }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    }
 | 
						|
 | 
						|
    ///<summary> QCQuestionAddOrEdit  列表查询参数模型</summary>
 | 
						|
    public class QCQuestionAddOrEdit
 | 
						|
    {
 | 
						|
        public Guid? Id { 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 string Type { get; set; } = String.Empty;
 | 
						|
 | 
						|
        public string ParentTriggerValue { get; set; } = String.Empty;
 | 
						|
        public Guid? ParentId { get; set; }
 | 
						|
 | 
						|
 | 
						|
        public string TypeValue { get; set; } = String.Empty;
 | 
						|
        public string ChildInvalidValue { get; set; } = String.Empty;
 | 
						|
        public int ShowOrder { get; set; }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
 |