payne
2024-04-24 c755f1fce97d09044f294a478e4b2d75dd931362
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Mapster;
using Admin.NET.Core;
 
namespace Admin.NET.Application
{
    public class BaseCustomerMapper : IRegister
    {
        public void Register(TypeAdapterConfig config)
        {
            config.ForType<AddBaseCustomerInput, BaseCustomer>()
            ;
            config.ForType<UpdateBaseCustomerInput, BaseCustomer>()
            ;
            config.ForType<BaseCustomer, BaseCustomerOutput>()
            ;
        }
    }
}