using AutoMapper; using MyNewProjectName.Application.Mappings; using MyNewProjectName.Domain.Entities; namespace MyNewProjectName.Application.Features.Sample.Queries.GetSamples; /// /// Sample DTO /// public class SampleDto : IMapFrom { public Guid Id { get; set; } public string Name { get; set; } = string.Empty; public string? Description { get; set; } public bool IsActive { get; set; } public DateTime CreatedAt { get; set; } public void Mapping(Profile profile) { profile.CreateMap(); } }