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.
22 lines
559 B
C#
22 lines
559 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using AutoMapper;
|
|
using Common.DJYModel;
|
|
|
|
namespace djy.Service.DjyService
|
|
{/// <summary>
|
|
/// automapper自动映射配置
|
|
/// </summary>
|
|
public class AutoMapperConfig:Profile
|
|
{
|
|
public AutoMapperConfig() {
|
|
CreateMap<tb_OpenModuleServer, ModuleServerDto>().ReverseMap();
|
|
CreateMap<tb_sys_Dictionary, tb_sys_DictionaryDto>().ReverseMap();
|
|
CreateMap<CustPrice, CustPriceDto>().ReverseMap();
|
|
|
|
}
|
|
}
|
|
}
|