Files
WMS-Api/src/WMS.Web.Domain/Mappers/OutStockMapper.cs
2023-11-02 17:44:04 +08:00

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());
}
}
}