update
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
namespace CMSMicroservice.Application.NetworkMembershipCQ.Queries.GetNetworkTree;
|
||||
|
||||
/// <summary>
|
||||
/// DTO برای نتیجه Flat از Stored Procedure
|
||||
/// هر ردیف یک نود از درخت است
|
||||
/// </summary>
|
||||
public class NetworkTreeNodeDto
|
||||
{
|
||||
public long UserId { get; set; }
|
||||
public string? Mobile { get; set; }
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public int? LegPosition { get; set; }
|
||||
public long? ParentId { get; set; }
|
||||
public int NetworkLevel { get; set; }
|
||||
public DateTime? ClubActivatedAt { get; set; }
|
||||
public bool IsClubActive { get; set; }
|
||||
public long? ActivationWeekDefinitionId { get; set; }
|
||||
public string? ActivationWeekDisplayName { get; set; }
|
||||
public bool IsActivatedInTargetWeek { get; set; }
|
||||
public DateTimeOffset UserCreated { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// نام کامل کاربر
|
||||
/// </summary>
|
||||
public string FullName => $"{FirstName} {LastName}".Trim();
|
||||
}
|
||||
Reference in New Issue
Block a user