f8794bbb63
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 17m54s
- Added filtering capabilities to GetClubMembershipHistoryQuery, allowing optional filters for UserId, ClubMembershipId, Action, and date range. - Updated GetClubMembershipHistoryQueryHandler to utilize the new filter structure. - Enhanced GetAllClubMembershipsQueryHandler to include LastPackage details in the response. - Introduced new properties in GetAllClubMembershipsResponseModel for PackageId and PackageName. - Updated Protobuf definitions to reflect changes in club membership history queries and responses. - Refactored mapping configurations to accommodate new DTOs and filters.
24 lines
870 B
C#
24 lines
870 B
C#
namespace CMSMicroservice.Application.ClubMembershipCQ.Queries.GetClubMembershipHistory;
|
|
|
|
public class GetClubMembershipHistoryResponseDto
|
|
{
|
|
public MetaData MetaData { get; set; }
|
|
public List<GetClubMembershipHistoryResponseModel> Models { get; set; }
|
|
}
|
|
|
|
public class GetClubMembershipHistoryResponseModel
|
|
{
|
|
public long Id { get; set; }
|
|
public long ClubMembershipId { get; set; }
|
|
public long UserId { get; set; }
|
|
public string UserName { get; set; } = string.Empty;
|
|
public bool OldIsActive { get; set; }
|
|
public bool NewIsActive { get; set; }
|
|
public long? OldInitialContribution { get; set; }
|
|
public long? NewInitialContribution { get; set; }
|
|
public ClubMembershipAction Action { get; set; }
|
|
public string? Reason { get; set; }
|
|
public string? PerformedBy { get; set; }
|
|
public DateTimeOffset Created { get; set; }
|
|
}
|