1
huangxiaoqiang
2025-06-26 37d02df69d8e9d7c4f30e069a8f6caa3e47a5de7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using AutoMapper;
 
namespace WIDESEA_WMSServer.Filter
{
    /// <summary>
    /// 静态全局 AutoMapper 配置文件
    /// </summary>
    public class AutoMapperConfig
    {
        public static MapperConfiguration RegisterMappings()
        {
            return new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new CustomProfile());
            });
        }
    }
}