using AutoMapper;
using Admin.Core.Model;
namespace Admin.Core.Extensions
{
public class CustomProfile : Profile
{
///
/// 配置构造函数,用来创建关系映射
///
public CustomProfile()
{
//CreateMap();
//CreateMap();
//CreateMap, PageModel>();
//CreateMap, PageModel>();
//CreateMap();
//CreateMap();
//CreateMap()
// .ForMember(a => a.id, b => b.MapFrom(x => x.MenuID))
// .ForMember(a => a.label, b => b.MapFrom(x => x.MenuName));
//CreateMap()
// .ForMember(a => a.MenuID, b => b.MapFrom(x => x.id))
// .ForMember(a => a.MenuName, b => b.MapFrom(x => x.label));
//CreateMap();
//CreateMap();
//CreateMap, PageModel>();
//CreateMap, PageModel>();
//CreateMap()
// .ForMember(a => a.id, b => b.MapFrom(x => x.DeptID))
// .ForMember(a => a.label, b => b.MapFrom(x => x.DeptName));
//CreateMap()
// .ForMember(a => a.DeptID, b => b.MapFrom(x => x.id))
// .ForMember(a => a.DeptName, b => b.MapFrom(x => x.label));
//CreateMap();
//CreateMap();
//CreateMap();
//CreateMap();
//CreateMap, PageModel>();
//CreateMap, PageModel>();
//业务类
//CreateMap, PageModel>();
//CreateMap, PageModel>();
// CreateMap();
// CreateMap();
// CreateMap()
//.ForMember(a => a.id, b => b.MapFrom(x => x.ID))
//.ForMember(a => a.label, b => b.MapFrom(x => x.Name));
// CreateMap()
// .ForMember(a => a.ID, b => b.MapFrom(x => x.id))
// .ForMember(a => a.Name, b => b.MapFrom(x => x.label));
}
}
}