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.

25 lines
596 B
C#

2 years ago
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)
;
}
}
}