lixiaojun
2024-12-04 85547d93c3d57de82af6a6e16301218ffd1e89f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Yw.Dto;
 
namespace Yw.BLL
{
    /// <summary>
    ///
    /// </summary>
    public class Mapper : IRegister
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="config"></param>
        public void Register(TypeAdapterConfig config)
        {
            #region project
 
            config.ForType<AddDivisionInput, Yw.Model.Division>()
                .Map(dest => dest.Flags, src => src.Flags);
 
            #endregion project
        }
    }
}