Abp模块
abp
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
365 B

using AutoMapper;
using BookStore.Entities;
using BookStore.Services.Dtos;
namespace BookStore.ObjectMapping;
public class BookStoreAutoMapperProfile : Profile
{
public BookStoreAutoMapperProfile()
{
/* Create your AutoMapper object mappings here */
CreateMap<BookCreateUpdateInput, Book>();
CreateMap<Book, BookDto>();
}
}