//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2021-11-11 11:48:52 
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts
{
    /// 
    /// 
    /// 
    public class QCQuestionViewInDto
    {
        public Guid? TrialId { get; set; }
    }
    public class QCQuestionView
    {
        public Guid Id { get; set; }
        public string QuestionName { get; set; } = String.Empty;
        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 Childrens = new List();
    }
    ///  QCQuestionConfigureView  列表视图模型 
    public class QCQuestionConfigureView
    {
        public Guid Id { get; set; }
        public string QuestionName { get; set; } = String.Empty;
        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; }
    }
    ///QCQuestionQuery  列表查询参数模型
    public class QCQuestionQuery
    {
        /// QuestionName
        public string QuestionName { get; set; } = String.Empty;
        /// TypeValue
        public string Type { get; set; } = String.Empty;
        public bool? IsEnable { get; set; }
        public Guid? TrialId { get; set; }
    }
    /// QCQuestionAddOrEdit  列表查询参数模型
    public class QCQuestionAddOrEdit
    {
        public Guid? Id { get; set; }
        public string QuestionName { get; set; } = String.Empty;
        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; }
    }
}