2025-12-02 03:32:26 +03:30
|
|
|
namespace BackOffice.BFF.Application.CommissionCQ.Queries.GetUserWeeklyBalances;
|
|
|
|
|
|
|
|
|
|
public record GetUserWeeklyBalancesQuery : IRequest<GetUserWeeklyBalancesResponseDto>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
/// موقعیت صفحهبندی
|
2025-12-02 03:32:26 +03:30
|
|
|
/// </summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
public PaginationState? PaginationState { get; init; }
|
2025-12-02 03:32:26 +03:30
|
|
|
|
|
|
|
|
/// <summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
/// مرتبسازی بر اساس
|
2025-12-02 03:32:26 +03:30
|
|
|
/// </summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
public string? SortBy { get; init; }
|
2025-12-02 03:32:26 +03:30
|
|
|
|
|
|
|
|
/// <summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
/// فیلتر
|
2025-12-02 03:32:26 +03:30
|
|
|
/// </summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
public GetUserWeeklyBalancesFilter? Filter { get; init; }
|
|
|
|
|
}
|
2025-12-02 03:32:26 +03:30
|
|
|
|
2025-12-12 10:23:52 +03:30
|
|
|
public class GetUserWeeklyBalancesFilter
|
|
|
|
|
{
|
2025-12-02 03:32:26 +03:30
|
|
|
/// <summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
/// شناسه کاربر (فیلتر اختیاری)
|
2025-12-02 03:32:26 +03:30
|
|
|
/// </summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
public long? UserId { get; set; }
|
2025-12-02 03:32:26 +03:30
|
|
|
|
|
|
|
|
/// <summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
/// شماره هفته (فیلتر اختیاری)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? WeekNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// فقط تعادلهای فعال (منقضی نشده)
|
2025-12-02 03:32:26 +03:30
|
|
|
/// </summary>
|
2025-12-12 10:23:52 +03:30
|
|
|
public bool? OnlyActive { get; set; }
|
2025-12-02 03:32:26 +03:30
|
|
|
}
|