30 lines
948 B
C#
30 lines
948 B
C#
namespace BackOffice.BFF.Application.CommissionCQ.Queries.GetUserWeeklyBalances;
|
|
|
|
public record GetUserWeeklyBalancesResponseDto
|
|
{
|
|
public MetaDataDto MetaData { get; init; } = new();
|
|
public List<UserWeeklyBalanceDto> Models { get; init; } = new();
|
|
}
|
|
|
|
public record UserWeeklyBalanceDto
|
|
{
|
|
public long Id { get; init; }
|
|
public long UserId { get; init; }
|
|
public string WeekNumber { get; init; } = string.Empty;
|
|
public int LeftLegBalances { get; init; }
|
|
public int RightLegBalances { get; init; }
|
|
public int TotalBalances { get; init; }
|
|
public long WeeklyPoolContribution { get; init; }
|
|
public DateTime? CalculatedAt { get; init; }
|
|
public bool IsExpired { get; init; }
|
|
public DateTime Created { get; init; }
|
|
}
|
|
|
|
public record MetaDataDto
|
|
{
|
|
public int TotalCount { get; init; }
|
|
public int PageSize { get; init; }
|
|
public int CurrentPage { get; init; }
|
|
public int TotalPages { get; init; }
|
|
}
|