From 4dd428957b7c661f90541d646326fd7ce9b959a3 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 14 Apr 2023 18:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B4=BE=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingTruck/Dtos/BookingTrucMapper.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Myshipping.Application/Service/BookingTruck/Dtos/BookingTrucMapper.cs diff --git a/Myshipping.Application/Service/BookingTruck/Dtos/BookingTrucMapper.cs b/Myshipping.Application/Service/BookingTruck/Dtos/BookingTrucMapper.cs new file mode 100644 index 00000000..0ab90628 --- /dev/null +++ b/Myshipping.Application/Service/BookingTruck/Dtos/BookingTrucMapper.cs @@ -0,0 +1,24 @@ +using Mapster; +using Myshipping.Application.EDI; +using Myshipping.Application.Entity; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Myshipping.Application +{ + public class BookingTrucMapper : IRegister + { + public void Register(TypeAdapterConfig config) + { + config.ForType() + .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.BookingId, src => src.BookingId) + + ; + } + } +}