修改派车

optimize
jianghaiqing 2 years ago
parent 8d381a8e82
commit 4dd428957b

@ -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<BookingTruck, BookingTruckDto>()
.Map(dest => dest.Id, src => src.Id)
.Map(dest => dest.BookingId, src => src.BookingId)
;
}
}
}
Loading…
Cancel
Save