using MediatR;

namespace CMSMicroservice.Application.DiscountShopCQ.Commands.AddToCustomerCart;

/// <summary>
/// Command برای افزودن محصول به سبد خرید کاربر فعلی
/// </summary>
public class AddToCustomerCartCommand : IRequest<AddToCustomerCartCommandResponse>
{
    public long ProductId { get; set; }
    public int Count { get; set; }
    // UserId from ICurrentUserService
}

public class AddToCustomerCartCommandResponse
{
    public long Id { get; set; }
    public string Message { get; set; } = string.Empty;
    public bool Success { get; set; }
}
