54 lines
1.6 KiB
C#
54 lines
1.6 KiB
C#
namespace CMSMicroservice.Application.NetworkMembershipCQ.Queries.GetNetworkTree;
|
|
|
|
/// <summary>
|
|
/// DTO برای نمایش درخت دوتایی شبکه
|
|
/// </summary>
|
|
public class NetworkTreeDto
|
|
{
|
|
public long UserId { get; set; }
|
|
public string? Mobile { get; set; }
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
|
|
/// <summary>
|
|
/// کد معرف کاربر
|
|
/// </summary>
|
|
public string? ReferralCode { get; set; }
|
|
|
|
public NetworkLeg? LegPosition { get; set; }
|
|
public int CurrentDepth { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ فعالسازی در باشگاه مشتریان
|
|
/// </summary>
|
|
public DateTime? ClubActivatedAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// وضعیت فعال بودن در باشگاه مشتریان
|
|
/// </summary>
|
|
public bool IsClubActive { get; set; }
|
|
|
|
/// <summary>
|
|
/// شماره هفته فعالسازی
|
|
/// </summary>
|
|
public long? ActivationWeekDefinitionId { get; set; }
|
|
|
|
/// <summary>
|
|
/// نام نمایشی هفته فعالسازی (مثل: هفته یکم)
|
|
/// </summary>
|
|
public string? ActivationWeekDisplayName { get; set; }
|
|
|
|
/// <summary>
|
|
/// آیا کاربر در هفته هدف فعال شده است؟
|
|
/// </summary>
|
|
public bool IsActivatedInTargetWeek { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ ایجاد کاربر
|
|
/// </summary>
|
|
public DateTimeOffset UserCreated { get; set; }
|
|
|
|
public NetworkTreeDto? LeftChild { get; set; }
|
|
public NetworkTreeDto? RightChild { get; set; }
|
|
}
|