first commit

This commit is contained in:
2026-02-26 14:04:18 +07:00
parent 57ac80a666
commit 4b7236493f
92 changed files with 4999 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using AutoMapper;
using MyNewProjectName.Application.Mappings;
using MyNewProjectName.Domain.Entities;
namespace MyNewProjectName.Application.Features.Sample.Queries.GetSamples;
/// <summary>
/// Sample DTO
/// </summary>
public class SampleDto : IMapFrom<SampleEntity>
{
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<SampleEntity, SampleDto>();
}
}