schangxiang@126.com
2024-04-23 c611663e387949c48c37587a0a291f2ed1eb92a6
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>()
            ;
        }
    }
}