using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using WMS.Web.Core.Dto.Inventory;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Mappers
{
///
/// 即时库存映射对象
///
public class InventoryMapper:Profile
{
public InventoryMapper()
{
//改箱映射
CreateMap();
//移箱映射
CreateMap();
CreateMap() ;
//出入库回退上下架映射
CreateMap();
CreateMap();
//采购上架映射
CreateMap();
CreateMap();
//采购上架映射
CreateMap();
CreateMap();
//箱库存映射
CreateMap();
CreateMap();
//物料收发明细-映射
CreateMap()
.ForMember(x => x.OrderType, ops => ops.MapFrom(x => x.OrderType))
.ForMember(x => x.Type, ops => ops.MapFrom(x => x.InventoryInOutType));
}
}
}