using AutoMapper;
|
using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsPlaces;
|
using CMS.Plugin.HIAWms.Domain.WmsPlaces;
|
using Volo.Abp.ObjectExtending;
|
|
namespace CMS.Plugin.HIAWms.Application.MapperProfiles;
|
|
/// <summary>
|
/// AutoMapper配置
|
/// </summary>
|
/// <seealso cref="AutoMapper.Profile" />
|
public class WmsPlaceAutoMapperProfile : Profile
|
{
|
/// <summary>
|
/// Initializes a new instance of the <see cref="WmsPlaceAutoMapperProfile"/> class.
|
/// </summary>
|
public WmsPlaceAutoMapperProfile()
|
{
|
/* You can configure your AutoMapper mapping configuration here.
|
* Alternatively, you can split your mapping configurations
|
* into multiple profile classes for a better organization. */
|
CreateMap<WmsPlace, WmsPlaceDto>(MemberList.None).MapExtraProperties(MappingPropertyDefinitionChecks.None);
|
}
|
}
|