using LiteCharms.Models; namespace LiteCharms.Features.Customers.Queries; public class GetCustomerOrdersQuery : IRequest> { public Guid CustomerId { get; } private GetCustomerOrdersQuery(Guid customerId) => CustomerId = customerId; public static GetCustomerOrdersQuery Create(Guid customerId) { if (customerId == Guid.Empty) throw new ArgumentException("CustomerId is required.", nameof(customerId)); return new(customerId); } }