diff --git a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs index db7358011..2b2ac1611 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/FrontAuditConfigViewModel.cs @@ -45,24 +45,24 @@ namespace IRaCIS.Core.Application.ViewModel public class FrontAuditConfigQuery { /// Value - public string Value { get; set; } + public string Value { get; set; }=string.Empty; /// ValueCN - public string ValueCN { get; set; } + public string ValueCN { get; set; } = string.Empty; - /// Description - public string Description { get; set; } + /// Description + public string Description { get; set; } = string.Empty; - /// Code - public string Code { get; set; } + /// Code + public string Code { get; set; } = string.Empty; - /// OptTypeId - public string OptTypeId { get; set; } + /// OptTypeId + public string OptTypeId { get; set; } = string.Empty; - /// ChildrenTypeId - public string ChildrenTypeId { get; set; } + /// ChildrenTypeId + public string ChildrenTypeId { get; set; } = string.Empty; - } + } /// FrontAuditConfigAddOrEdit 列表查询参数模型 public class FrontAuditConfigAddOrEdit @@ -75,17 +75,17 @@ namespace IRaCIS.Core.Application.ViewModel public Guid CreateUserId { get; set; } public DateTime UpdateTime { get; set; } public Guid UpdateUserId { get; set; } - public string Code { get; set; } - public Guid? ParentId { 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; } - public string OptTypeId { get; set; } - public string ChildrenTypeId { 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; } + public string ConfigType { get; set; } = string.Empty; - public bool? IsShowParent { get; set; } + public bool? IsShowParent { get; set; } }