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

@ -95,7 +95,7 @@ namespace IRaCIS.Core.Application.Service
//CreateMap<FrontAuditConfig, FrontAuditConfigView>(); //CreateMap<FrontAuditConfig, FrontAuditConfigView>();
// CreateMap< FrontAuditConfig,FrontAuditConfigAddOrEdit>().ReverseMap(); // CreateMap< FrontAuditConfig,FrontAuditConfigAddOrEdit>().ReverseMap();
addOrEditFrontAuditConfig.CreateTime= DateTime.Now; addOrEditFrontAuditConfig.CreateTime= DateTime.Now;
addOrEditFrontAuditConfig.UpdateTime= DateTime.Now; addOrEditFrontAuditConfig.UpdateTime= DateTime.Now;
addOrEditFrontAuditConfig.CreateUserId = _userInfo.Id; addOrEditFrontAuditConfig.CreateUserId = _userInfo.Id;

View File

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

View File

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