using AutoMapper;
using EnvelopeGenerator.Application.Common.Dto;
using EnvelopeGenerator.Application.EmailTemplates.Commands;
using EnvelopeGenerator.Domain.Entities;
namespace EnvelopeGenerator.Application.EmailTemplates;
///
///
///
public class MappingProfile : Profile
{
///
///
///
public MappingProfile()
{
CreateMap();
CreateMap()
.ForMember(dest => dest.Id, opt => opt.Ignore())
.ForMember(dest => dest.ChangedWhen, opt => opt.MapFrom(_ => DateTime.Now));
}
}