This commit is contained in:
2025-10-27 17:39:18 -04:00
commit 31f723bea4
1579 changed files with 642409 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using Prefab.Web.Client.ViewModels.Catalog;
namespace Prefab.Web.Client.Models.Catalog;
public sealed class ProductListingModel
{
public ProductCategoryModel Category { get; set; } = new();
public IReadOnlyList<ProductCardModel> Products { get; set; } = Array.Empty<ProductCardModel>();
public int Total { get; set; }
public int Page { get; set; }
public int PageSize { get; set; }
public string Sort { get; set; } = "name:asc";
public string View { get; set; } = "grid";
}
public sealed class ProductCategoryModel
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Slug { get; set; } = string.Empty;
public string? Description { get; set; }
public string? HeroImageUrl { get; set; }
public string? Icon { get; set; }
}