feat: add club activation fields to network membership
Build and Deploy / build (push) Successful in 2m14s
Build and Deploy / build (push) Successful in 2m14s
This commit is contained in:
@@ -23,6 +23,15 @@ public class NetworkMembershipProfile : IRegister
|
||||
IsActive = n.IsActive,
|
||||
JoinedAt = n.JoinedAt.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(n.JoinedAt.Value, DateTimeKind.Utc))
|
||||
: null,
|
||||
ClubActivatedAt = n.ClubActivatedAt.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(n.ClubActivatedAt.Value, DateTimeKind.Utc))
|
||||
: null,
|
||||
IsClubActive = n.IsClubActive,
|
||||
ActivationWeekNumber = n.ActivationWeekNumber,
|
||||
IsActivatedInTargetWeek =n.IsActivatedInTargetWeek,
|
||||
UserCreated = n.UserCreated.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(n.UserCreated.Value, DateTimeKind.Utc))
|
||||
: null
|
||||
}) }
|
||||
});
|
||||
@@ -39,6 +48,14 @@ public class NetworkMembershipProfile : IRegister
|
||||
IsActive = src.IsActive,
|
||||
JoinedAt = src.JoinedAt.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(src.JoinedAt.Value, DateTimeKind.Utc))
|
||||
: null,
|
||||
ClubActivatedAt = src.ClubActivatedAt.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(src.ClubActivatedAt.Value, DateTimeKind.Utc))
|
||||
: null,
|
||||
IsClubActive = src.IsClubActive,
|
||||
ActivationWeekNumber = src.ActivationWeekNumber,
|
||||
UserCreated = src.UserCreated.HasValue
|
||||
? Timestamp.FromDateTime(DateTime.SpecifyKind(src.UserCreated.Value, DateTimeKind.Utc))
|
||||
: null
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user