mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
20 lines
628 B
20 lines
628 B
using AutoMapper;
|
|
using Volo.Docs.Documents;
|
|
using Volo.Docs.Projects;
|
|
using Volo.Abp.AutoMapper;
|
|
|
|
namespace Volo.Docs
|
|
{
|
|
public class DocsApplicationAutoMapperProfile : Profile
|
|
{
|
|
public DocsApplicationAutoMapperProfile()
|
|
{
|
|
CreateMap<Project, ProjectDto>();
|
|
CreateMap<VersionInfo, VersionInfoDto>();
|
|
CreateMap<Document, DocumentWithDetailsDto>()
|
|
.Ignore(x => x.Project).Ignore(x => x.Contributors);
|
|
CreateMap<DocumentContributor, DocumentContributorDto>();
|
|
CreateMap<DocumentResource, DocumentResourceDto>();
|
|
}
|
|
}
|
|
}
|