添加项目文件。

This commit is contained in:
2026-10-12 16:22:04 +08:00
parent 7c68a0ca0a
commit aad11be43d
1000 changed files with 120807 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
using AdminService.Notices.Param;
using AdminService.System.Param;
using AdminService.System.Response;
using AdminService.Notices.Param;
using AutoMapper;
using CommonDomain;
using UserDomain.Entity;
using Domain.Admin.Admin;
using UserDomain.Entity;
namespace AdminService
{
public class AutoMapperConfig : Profile
{
public AutoMapperConfig()
{
#region Admin
//param To Entity
CreateMap<AddUserParam, SystemUser>();
CreateMap<AddRoleParam, SystemUserRole>();
CreateMap<AddNavParam, SystemNavigation>();
CreateMap<AddDicParam, SystemDic>();
CreateMap<SystemUser, AdminUserToken>();
CreateMap<SystemNavigation, SystemNavigationResponse>();
CreateMap<SystemDic, SystemDicResponse>();
#endregion
#region Notice
CreateMap<AddNoticeParam, Notice>();
CreateMap<UpdateNoticeParam, Notice>();
#endregion
#region Task
CreateMap<GameTask, UserTask>();
#endregion
}
}
}