#region using AutoMapper; using Web.Core.Model.DTO; using Web.Core.Model.Entity; #endregion namespace Web.Core.Model.Profiles; public class CustomProfile : Profile { /// /// 配置构造函数,用来创建关系映射 /// public CustomProfile() { CreateMap(); CreateMap(); CreateMap(); CreateMap(); } }