You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1006 B

using AutoMapper;
using Volo.Abp.AutoMapper;
using Win_in.Sfs.Wms.Pda.Controllers.Jobs;
using Win_in.Sfs.Wms.Store.Application.Contracts;
using Win_in.Sfs.Wms.Store.Domain;
namespace Win_in.Sfs.Wms.Pda;
/// <summary>
/// 实体映射
/// </summary>
public class PdaHostAutoMapperProfile : Profile
{
/// <summary>
/// 实体映射
/// </summary>
public PdaHostAutoMapperProfile()
{
CreateMap<PurchaseReceiptJobDTO, PurchaseReceiptJobWithSupplierDTO>()
.Ignore(x => x.TimeWindow)
.Ignore(x => x.SupplierName)
;
CreateMap<PurchaseReturnRequestPdaInput, PurchaseReturnRequestEditInput>()
.Ignore(x => x.ReturnType)
.Ignore(x => x.ReturnTime)
.Ignore(x => x.ActiveDate)
.Ignore(x => x.Details)
.Ignore(x => x.TenantId)
.Ignore(x => x.Remark)
.Ignore(x => x.ExtraProperties);
CreateMap<PurchaseReturnRequestPdaInput, PurchaseReturnRequestDetailInput>();
}
}