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
504 B
C#

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