schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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 TestTeacherMapper : IRegister
    {
        public void Register(TypeAdapterConfig config)
        {
            config.ForType<AddTestTeacherInput, TestTeacher>()
            ;
            config.ForType<UpdateTestTeacherInput, TestTeacher>()
            ;
            config.ForType<TestTeacher, TestTeacherOutput>()
            ;
        }
    }
}