//-------------------------------------------------------------------- // 此代码由T4模板自动生成 byzhouhang 20210918 // 生成时间 2021-11-11 11:48:52 // 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 //-------------------------------------------------------------------- using System.ComponentModel.DataAnnotations; namespace IRaCIS.Core.Application.Contracts { /// TrialQCQuestionConfigureView 列表视图模型 public class TrialQCQuestionConfigureView { public Guid Id { get; set; } public Guid TrialId { 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 TypeValue { get; set; } = string.Empty; public Guid? ParentId { get; set; } public string ParentTriggerValue { get; set; } = string.Empty; public int? ParentShowOrder { get; set; } public int ShowOrder { get; set; } public Guid CreateUserId { get; set; } public DateTime CreateTime { get; set; } public DateTime UpdateTime { get; set; } public Guid UpdateUserId { get; set; } } public class TrialQCQuestionFilterSelect { [NotDefault] public Guid TrialId { get; set; } public Guid? Id { get; set; } public string[] TypeArray { get; set; }=new string[0]; } public class TrialQCQuestionSelect { public Guid Id { get; set; } public string QuestionName { get; set; } = string.Empty; public Guid? ParentId { get; set; } public int ShowOrder { get; set; } public string TypeValue { get; set; } } ///TrialQCQuestionQuery 列表查询参数模型 public class TrialQCQuestionQuery { public Guid TrialId { get; set; } /// QuestionName public string QuestionName { get; set; } = string.Empty; /// TypeValue public string Type { get; set; }=String.Empty; public bool? IsEnable { get; set; } public bool? IsRequired { get; set; } } /// TrialQCQuestionAddOrEdit 列表查询参数模型 public class TrialQCQuestionAddOrEdit:TrialQCQuestionConfigureBatchAdd { public Guid? Id{ get; set; } public Guid TrialId { get; set; } } public class TrialQCQuestionConfigureBatchAdd { 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 Guid? ParentId { get; set; } public string TypeValue { get; set; } = string.Empty; public string ParentTriggerValue { get; set; } = string.Empty; public int ShowOrder { get; set; } } }