23 lines
603 B
C#
23 lines
603 B
C#
using AutoMapper;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using WMS.Web.Core.Dto.OutStock;
|
|
using WMS.Web.Domain.Entitys;
|
|
|
|
namespace WMS.Web.Domain.Mappers
|
|
{
|
|
public class OutStockMapper : Profile
|
|
{
|
|
public OutStockMapper()
|
|
{
|
|
CreateMap<SaveOutStockRequest, OutStockDetails>();
|
|
|
|
CreateMap<OutStockTaskDetails, OutStockDetails>()
|
|
.ForMember(x => x.Id, ops => ops.Ignore())
|
|
.ForMember(x => x.Fid, ops => ops.Ignore())
|
|
.ForMember(x => x.Qty, ops => ops.Ignore());
|
|
}
|
|
}
|
|
}
|