1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| using Mapster;
| using System;
| namespace IStation.Application
| {
| /// <summary>
| ///
| /// </summary>
| public class Mapper : IRegister
| {
| /// <summary>
| ///
| /// </summary>
| /// <param name="config"></param>
| public void Register(TypeAdapterConfig config)
| {
|
| #region 对象地图信息
|
| config.ForType<AddObjectMapInfoInput, Model.ObjectMapInfo>();
|
| config.ForType<UpdateObjectMapInfoInput, Model.ObjectMapInfo>();
|
| config.ForType<Model.ObjectMapInfo, ObjectMapInfoDto>();
|
| #endregion
|
|
|
| }
| }
| }
|
|