Files
WMS-Api/src/WMS.Web.Domain/Mappers/BoxMapper.cs
2023-11-11 13:45:07 +08:00

27 lines
573 B
C#

using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMS.Web.Core.Dto;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Mappers
{
/// <summary>
/// 箱信息
/// </summary>
public class BoxMapper : Profile
{
public BoxMapper()
{
CreateMap<Box, BoxResponse>();
CreateMap<BoxDetails, BoxDetailResponse>();
CreateMap<OpsBoxResponse, Box>();
CreateMap<OpsBoxDetailsResponse, BoxDetails>();
}
}
}