From a38b50675f2cf8e813bd337ca2f9d9456cc421d3 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期四, 17 十月 2024 09:50:14 +0800 Subject: [PATCH] WCS --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" new file mode 100644 index 0000000..5ef9b81 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" @@ -0,0 +1,27 @@ +锘縰sing Autofac.Builder; +using AutoMapper; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_DTO.System; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Filter +{ + public class CustomProfile : Profile + { + /// <summary> + /// 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 + /// </summary> + public CustomProfile() + { + CreateMap<Sys_Menu, MenuDTO>(); + CreateMap<RegistrationDTO, Sys_CompanyRegistration>(); + CreateMap<Dt_OutOrderAndStock, Dt_OutOrderAndStock_Hty>(); + CreateMap<Dt_Task, Dt_Task_Hty>(); + + } + } +} -- Gitblit v1.9.3