using CartWise.Domain.Enums;

namespace CartWise.Web.ViewModels.ShoppingList;

public class ShoppingListViewModel
{
    public Guid ShoppingListId { get; set; }

    public string Name { get; set; } = string.Empty;

    public List<ShoppingListItemViewModel> Items { get; set; } = [];

    public AddShoppingListItemViewModel NewItem { get; set; } = new();
}

public class ShoppingListItemViewModel
{
    public Guid Id { get; set; }

    public string DisplayName { get; set; } = string.Empty;

    public string? QuantityDisplay { get; set; }

    public ShoppingListItemStatus Status { get; set; }

    public Guid ConcurrencyToken { get; set; }
}
