irc-netcore-api/IRaCIS.Core.Application/Service/QC/DTO/QCQuestionConfigureViewMode...

105 lines
3.3 KiB
C#

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