20 lines
641 B
C#
20 lines
641 B
C#
namespace NetinaShop.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;
|
|
} |