using CartWise.Domain.Enums;

namespace CartWise.Web.ViewModels.Household;

public class HouseholdIndexViewModel
{
    public Guid HouseholdId { get; set; }

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

    public DateTime CreatedUtc { get; set; }

    public List<HouseholdMemberViewModel> Members { get; set; } = [];
}

public class HouseholdMemberViewModel
{
    public string UserId { get; set; } = string.Empty;

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

    public HouseholdRole Role { get; set; }

    public DateTime JoinedUtc { get; set; }
}
