using MediatR;

namespace CMSMicroservice.Application.DiscountShopCQ.Commands.AddToCart;

public class AddToCartCommand : IRequest<AddToCartResponseDto>
{
    public long UserId { get; set; }
    public long ProductId { get; set; }
    public int Count { get; set; }
}

public class AddToCartResponseDto
{
    public bool Success { get; set; }
    public string Message { get; set; }
    public long CartItemId { get; set; }
}
