初始提交
This commit is contained in:
27
Services/Hncore.Pass.Manage/Util/AutoMapperProfile.cs
Normal file
27
Services/Hncore.Pass.Manage/Util/AutoMapperProfile.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Hncore.Pass.Manage.Domain;
|
||||
using Hncore.Pass.Manage.Request;
|
||||
using Hncore.Pass.Manage.Response;
|
||||
using AutoMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.Manage.Util
|
||||
{
|
||||
/// <summary>
|
||||
/// AutoMapper映射关系处理类
|
||||
/// </summary>
|
||||
///
|
||||
public class AutoMapperProfile : Profile
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数,所有映射关联在此完成关联
|
||||
/// </summary>
|
||||
///
|
||||
public AutoMapperProfile()
|
||||
{
|
||||
CreateMap<ManagerTag, ManagerTagResponse>();//
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user