irc-netcore-api/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs

201 lines
5.3 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-28 16:43:52
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.ViewModel
{
/// <summary> FrontAuditConfigView 列表视图模型 </summary>
public class FrontAuditConfigView:FrontAuditConfig
{
public string ChildrenTypeValue { get; set; } = string.Empty;
public string ChildrenTypeValueCN { get; set; } = string.Empty;
public string ModuleTypeValue { get; set; } = string.Empty;
public string ModuleTypeValueCN { get; set; } = string.Empty;
public string OptTypeValue { get; set; } = string.Empty;
public string OptTypeValueCN { get; set; } = string.Empty;
public string ObjectTypeValue { get; set; } = string.Empty;
public string ObjectTypeValueCN { get; set; } = string.Empty;
}
public class GetChildrenItem
{
public string Identification { get; set; }
}
public class CopyOtherToThisItem
{
public List<Guid?> DataSource { get; set; }=new List<Guid?>(){ };
public Guid AddItem { get; set; }
}
public class GetDescriptionByModuleTypeDto
{
public string ModuleType { get; set; } = string.Empty;
}
///<summary>FrontAuditConfigQuery 列表查询参数模型</summary>
public class FrontAuditConfigQuery
{
///<summary> Value</summary>
public string Value { get; set; } = string.Empty;
///<summary> ValueCN</summary>
public string ValueCN { get; set; } = string.Empty;
///<summary> Description</summary>
public string Description { get; set; } = string.Empty;
///<summary> Code</summary>
public string Code { get; set; } = string.Empty;
///<summary> OptTypeId </summary>
public string OptTypeId { get; set; } = string.Empty;
///<summary> ChildrenTypeId</summary>
public string ChildrenTypeId { get; set; } = string.Empty;
public string ModuleTypeId { get; set; } = string.Empty;
public string ObjectTypeId { get; set; } = string.Empty;
public string ConfigType { get; set; } = string.Empty;
}
public class ChangeFrontAuditSortDto
{
public List<FrontAuditSort> SortData { get; set; }
}
public class FrontAuditSort
{
public Guid Id { get; set; }
public int Sort { get; set; }
}
///<summary> FrontAuditConfigAddOrEdit 列表查询参数模型</summary>
public class FrontAuditConfigAddOrEdit
{
public Guid? Id { get; set; }
public string Value { get; set; } = string.Empty;
public string ValueCN { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public DateTime CreateTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime UpdateTime { get; set; }
public Guid UpdateUserId { get; set; }
public string Code { get; set; } = string.Empty;
public Guid? ParentId { get; set; }
public bool IsEnable { get; set; }
public bool IsConfig { get; set; }
public string ModuleTypeId { get; set; } = string.Empty;
public string OptTypeId { get; set; } = string.Empty;
public string ChildrenTypeId { get; set; } = string.Empty;
public string ConfigType { get; set; } = string.Empty;
public bool? IsShowParent { get; set; }
public int? Sort { get; set; }
public string EnumList { get; set; } = string.Empty;
public string DictionaryKey { get; set; } = string.Empty;
public string EnumType { get; set; } = string.Empty;
public string ObjectTypeId { get; set; } = string.Empty;
public bool? IsShowByTrialConfig { get; set; }
public string ByTrialConfig { get; set; } = string.Empty;
/// <summary>
/// 是否向前站位
/// </summary>
public bool? IsForwardPosition { get; set; }
/// <summary>
/// 标识
/// </summary>
public string Identification { get; set; } = string.Empty;
/// <summary>
/// 是否有签名
/// </summary>
public bool? IsHaveSign { get; set; }
/// <summary>
/// 是否有原因
/// </summary>
public bool? IsHaveReason { get; set; }
/// <summary>
/// 是否完成
/// </summary>
public bool? IsFinish { get; set; }
/// <summary>
/// 是否加入计划
/// </summary>
public bool? IsJoinPlan { get; set; }
/// <summary>
/// 数据类型
/// </summary>
public string DataType { get; set; }
/// <summary>
/// 子数据Lable
/// </summary>
public string ChildDataLabel { get; set; }
/// <summary>
/// 子数据Value
/// </summary>
public string ChildDataValue { get; set; }
/// <summary>
/// 是否为特殊类型
/// </summary>
public bool? IsSpecialType { get; set; }
}
}