add mapping profiles
This commit is contained in:
parent
a3bc26bd08
commit
fb07d9151f
@ -0,0 +1,21 @@
|
||||
using AutoMapper;
|
||||
using EnvelopeGenerator.Domain.Entities;
|
||||
|
||||
namespace EnvelopeGenerator.Application.DocStatus.Commands;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class MappingProfile : Profile
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public MappingProfile()
|
||||
{
|
||||
CreateMap<CreateDocStatusCommand, DocumentStatus>();
|
||||
CreateMap<UpdateDocStatusCommand, DocumentStatus>();
|
||||
CreateMap<EnvelopeQuery, Envelope>();
|
||||
CreateMap<ReceiverQuery, Receiver>();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user