Uat_Study
DK 2022-03-29 11:07:46 +08:00
parent 4831d6bd07
commit 93a7345ddd
4 changed files with 27 additions and 26 deletions

View File

@ -21,8 +21,8 @@ namespace IRaCIS.Core.Application.ViewModel
public Guid UpdateUserId { get; set; }
public string Code { get; set; }
public Guid? ParentId { get; set; }
public bool IsEnable { get; set; }
public bool IsConfig { 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; }
@ -67,25 +67,25 @@ namespace IRaCIS.Core.Application.ViewModel
///<summary> FrontAuditConfigAddOrEdit 列表查询参数模型</summary>
public class FrontAuditConfigAddOrEdit
{
public Guid Id { get; set; }
public string Value { get; set; }
public string ValueCN { get; set; }
public string Description { get; set; }
public DateTime CreateTime { get; set; }
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 Guid? ParentId { get; set; }
public bool IsEnable { get; set; }
public bool IsConfig { get; set; }
public string ModuleTypeId { get; set; } = string.Empty;
public string ModuleTypeId { get; set; } = string.Empty;
public string OptTypeId { get; set; } = string.Empty;
public string ChildrenTypeId { get; set; } = string.Empty;
public string ChildrenTypeId { get; set; } = string.Empty;
public string ConfigType { get; set; } = string.Empty;
public string ConfigType { get; set; } = string.Empty;
public bool? IsShowParent { get; set; }
public bool? IsShowParent { get; set; }
}

View File

@ -1,6 +1,7 @@
using AutoMapper;
using IRaCIS.Application.Contracts;
using IRaCIS.Core.Application.Contracts;
using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Application.Service
@ -16,7 +17,7 @@ namespace IRaCIS.Core.Application.Service
CreateMap<SystemLogDTO, SystemLog>();
CreateMap<FrontAuditConfig, FrontAuditConfigAddOrEdit>().ReverseMap();
CreateMap<EmailNoticeConfigAddOrEdit, EmailNoticeConfig>().ReverseMap();
CreateMap<EmailNoticeConfig, EmailNoticeConfigView>();

View File

@ -18,49 +18,49 @@ namespace IRaCIS.Core.Domain.Models
/// <summary>
/// Value
/// </summary>
[Required]
public string Value { get; set; }
/// <summary>
/// ValueCN
/// </summary>
[Required]
public string ValueCN { get; set; }
/// <summary>
/// Description
/// </summary>
[Required]
public string Description { get; set; }
/// <summary>
/// CreateTime
/// </summary>
[Required]
public DateTime CreateTime { get; set; }
/// <summary>
/// CreateUserId
/// </summary>
[Required]
public Guid CreateUserId { get; set; }
/// <summary>
/// UpdateTime
/// </summary>
[Required]
public DateTime UpdateTime { get; set; }
/// <summary>
/// UpdateUserId
/// </summary>
[Required]
public Guid UpdateUserId { get; set; }
/// <summary>
/// Code
/// </summary>
[Required]
public string Code { get; set; }
/// <summary>
@ -71,14 +71,14 @@ namespace IRaCIS.Core.Domain.Models
/// <summary>
/// IsEnable
/// </summary>
[Required]
public bool IsEnable { get; set; }
public bool? IsEnable { get; set; }
/// <summary>
/// IsConfig
/// </summary>
[Required]
public bool IsConfig { get; set; }
public bool? IsConfig { get; set; }
/// <summary>
/// ModuleTypeId