OFDL: Added UserInfo model and InternalsVisibleTo

This commit is contained in:
Casper Sparre 2026-02-20 18:55:43 +01:00
parent 6697044e02
commit e1f2cac1e5
2 changed files with 40 additions and 0 deletions

View File

@ -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; }
}

View File

@ -23,4 +23,8 @@
<PackageReference Include="xFFmpeg.NET" Version="7.2.0"/>
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Cajetan.OF-DL" />
</ItemGroup>
</Project>