schangxiang@126.com
2024-04-25 db3bf5ec1588e1aa5db768375580b932f0aedcc7
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 TestStudentMapper : IRegister
    {
        public void Register(TypeAdapterConfig config)
        {
            config.ForType<AddTestStudentInput, TestStudent>()
            ;
            config.ForType<UpdateTestStudentInput, TestStudent>()
            ;
            config.ForType<TestStudent, TestStudentOutput>()
            ;
        }
    }
}