You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
513 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using djy.Model;
using djy.Paas.Model;
namespace djy.Paas.Service
{/// <summary>
/// automapper自动映射配置
/// </summary>
public class AutoMapperConfig:Profile
{
public AutoMapperConfig() {
CreateMap<tb_OpenModuleServer, ModuleServerDto>().ReverseMap();
CreateMap<tb_sys_Dictionary, tb_sys_DictionaryDto>().ReverseMap();
}
}
}