namespace Yw.Application.Run { /// /// /// public class Mapper : IRegister { /// /// /// public void Register(TypeAdapterConfig config) { #region 1-configure config.ForType(); config.ForType(); config.ForType(); config.ForType(); #endregion #region 2-record config.ForType() .Map(dest => dest.DataTime, src => DateTime.Now) .Map(dest => dest.AnalyStatus, src => AnalyStatus.Normal); #endregion } } }