Api/Netina.Domain/Dtos/ResponseDtos/SearchResponseDto.cs

20 lines
637 B
C#
Raw Normal View History

2024-04-16 20:01:34 +03:30
namespace Netina.Domain.Dtos.ResponseDtos;
public class SearchResponseDto
{
public List<SearchedProductCategoryResponseDto> Categories { get; set; } = new();
public List<SearchedProductResponseDto> Products { get; set; } = new();
}
public class SearchedProductResponseDto
{
public Guid Id { get; set; }
public string PersianName { get; set; } = string.Empty;
public string EnglishName { get; set; } = string.Empty;
public string MainImage { get; set; } = string.Empty;
}
public class SearchedProductCategoryResponseDto
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
}