|
|
@ -1,6 +1,7 @@ |
|
|
|
using AutoMapper; |
|
|
|
using Volo.Abp.AutoMapper; |
|
|
|
using Win_in.Sfs.Wms.Inventory.Application.Contracts; |
|
|
|
using Win_in.Sfs.Wms.Store.Application.Contracts; |
|
|
|
using Win_in.Sfs.Wms.Store.Domain; |
|
|
|
|
|
|
|
namespace Win_in.Sfs.Wms.Store.Event; |
|
|
@ -17,6 +18,19 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.Ignore(x => x.ExtraProperties) |
|
|
|
.Ignore(x => x.TransSubType) |
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<ThirdLocationNote, TransferNoteDTO>() |
|
|
|
.ForMember(dest => dest.Type, opts => opts.MapFrom(src => src.RequestType)) |
|
|
|
.Ignore(x => x.ExtraProperties) |
|
|
|
.Ignore(x => x.CallServerName) |
|
|
|
.Ignore(x => x.CallBusinessType) |
|
|
|
.Ignore(x => x.CallRequestNumber) |
|
|
|
.Ignore(x => x.CallJobNumber) |
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<ThirdLocationNoteDetail, TransferNoteDetailDTO>() |
|
|
|
.Ignore(x => x.Reason) |
|
|
|
; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|