liuying
2024-04-23 9284cb83f23e2f4b4fd66c060c20b28d7a6fa534
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>()
            ;
        }
    }
}