using AutoMapper; using JiepeiWMS.Model.Models; using JiepeiWMS.Model.ViewModels; namespace JiepeiWMS.AutoMapper { public class CustomProfile : Profile { /// /// 配置构造函数,用来创建关系映射 /// public CustomProfile() { CreateMap(); CreateMap(); } } }