feat: add club activation fields to network membership
Build and Deploy / build (push) Successful in 2m14s

This commit is contained in:
masoodafar-web
2025-12-14 04:15:22 +03:30
parent 4cffed9ce8
commit 6b72e88780
6 changed files with 57 additions and 2 deletions
@@ -16,4 +16,14 @@ public record GetNetworkTreeQuery : IRequest<GetNetworkTreeResponseDto>
/// فقط کاربران فعال (اختیاری)
/// </summary>
public bool? OnlyActive { get; init; }
/// <summary>
/// فیلتر براساس وضعیت فعال بودن باشگاه مشتریان
/// </summary>
public bool? IsClubActive { get; init; }
/// <summary>
/// فیلتر براساس شماره هفته فعالسازی (مثال: 2025-W05)
/// </summary>
public string? ActivationWeekNumber { get; init; }
}
@@ -44,4 +44,25 @@ public class NetworkTreeNodeDto
/// تاریخ عضویت
/// </summary>
public DateTime? JoinedAt { get; set; }
/// <summary>
/// تاریخ فعال‌سازی در باشگاه مشتریان
/// </summary>
public DateTime? ClubActivatedAt { get; set; }
/// <summary>
/// وضعیت فعال بودن در باشگاه مشتریان
/// </summary>
public bool IsClubActive { get; set; }
public bool IsActivatedInTargetWeek { get; set; }
/// <summary>
/// شماره هفته فعال‌سازی
/// </summary>
public string ActivationWeekNumber { get; set; } = string.Empty;
/// <summary>
/// تاریخ ایجاد کاربر
/// </summary>
public DateTime? UserCreated { get; set; }
}