From e1f2cac1e534b76b8185eeae81554d4e7d679bf8 Mon Sep 17 00:00:00 2001 From: Casper Sparre Date: Fri, 20 Feb 2026 18:55:43 +0100 Subject: [PATCH] OFDL: Added UserInfo model and InternalsVisibleTo --- OF DL.Core/Models/Entities/Users/UserInfo.cs | 36 ++++++++++++++++++++ OF DL.Core/OF DL.Core.csproj | 4 +++ 2 files changed, 40 insertions(+) create mode 100644 OF DL.Core/Models/Entities/Users/UserInfo.cs diff --git a/OF DL.Core/Models/Entities/Users/UserInfo.cs b/OF DL.Core/Models/Entities/Users/UserInfo.cs new file mode 100644 index 0000000..3c480eb --- /dev/null +++ b/OF DL.Core/Models/Entities/Users/UserInfo.cs @@ -0,0 +1,36 @@ +namespace OF_DL.Models.Entities.Users; + +public class UserInfo : User +{ + public long? Id { get; set; } + + public string? SubscribePrice { get; set; } + public string? CurrentSubscribePrice { get; set; } + + public bool? IsPaywallRequired { get; set; } + public bool? IsActive { get; set; } + public bool? IsRestricted { get; set; } + + public bool? SubscribedBy { get; set; } + public bool? SubscribedByExpire { get; set; } + public DateTimeOffset? SubscribedByExpireDate { get; set; } + public bool? SubscribedByAutoprolong { get; set; } + public bool? IsPendingAutoprolong { get; set; } + + public bool? SubscribedIsExpiredNow { get; set; } + + public bool? SubscribedOn { get; set; } + public bool? SubscribedOnExpiredNow { get; set; } + public string? SubscribedOnDuration { get; set; } + + public string? About { get; set; } + + public int? PostsCount { get; set; } + public int? ArchivedPostsCount { get; set; } + public int? PrivateArchivedPostsCount { get; set; } + + public int? PhotosCount { get; set; } + public int? VideosCount { get; set; } + public int? AudiosCount { get; set; } + public int? MediasCount { get; set; } +} diff --git a/OF DL.Core/OF DL.Core.csproj b/OF DL.Core/OF DL.Core.csproj index 2ef833a..0afdb37 100644 --- a/OF DL.Core/OF DL.Core.csproj +++ b/OF DL.Core/OF DL.Core.csproj @@ -23,4 +23,8 @@ + + + +