namespace CMSMicroservice.Application.ClubMembershipCQ.Queries.GetClubMembershipHistory;

public record GetClubMembershipHistoryQuery : IRequest<GetClubMembershipHistoryResponseDto>
{
    public PaginationState? PaginationState { get; init; }
    public string? SortBy { get; init; }
    public GetClubMembershipHistoryFilter? Filter { get; init; }
}

public class GetClubMembershipHistoryFilter
{
    public long? UserId { get; set; }
    public long? ClubMembershipId { get; set; }
    public ClubMembershipAction? Action { get; set; }
    public DateTime? CreatedFrom { get; set; }
    public DateTime? CreatedTo { get; set; }
}
