Make a viewmodel for the main search

This commit is contained in:
Francesco Lorenzo D'Amico
2025-06-02 09:06:14 +02:00
parent c9f3f2b343
commit 967542a0f1
@@ -0,0 +1,21 @@
namespace Francesco.Recipes.World.Models
{
public class SearchViewModel
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public bool IsFavorite { get; set; }
public byte[]? ImageData { get; set; }
public string? MimeType { get; set; }
public List<string> Ingredients { get; set; } = new ();
public TimeSpan TotalTime { get; set; }
}
}