yavsc/src/Yavsc.Abstract/Identity/Me.cs
Paul Schneider d8200cb98d
feat(postit): persist call IP privacy preference
Store HideIpAddressInCalls on user accounts, expose it in the profile API and PostIt editor, and preserve preferences for older clients. Add the EF migration, regression tests and architecture documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-25 16:49:51 +00:00

24 lines
763 B
C#

#nullable enable
namespace Yavsc.Abstract.Identity {
public class Me : UserInfo
{
public bool EmailConfirmed { get; set; }
public bool AllowMonthlyEmail { get; set; }
public bool HideIpAddressInCalls { get; set; }
public bool HasPassword { get; set; }
public bool TwoFactorEnabled { get; set; }
public int ExternalLoginCount { get; set; }
public long PostsCounter { get; set; }
public long DiskUsage { get; set; }
public long DiskQuota { get; set; }
public decimal Credits { get; set; }
public BankAccountInfo[] BankAccounts { get; set; } = [];
public LinkedExternalLogin[] ExternalLogins { get; set; } = [];
public AuthToken? Token {
get;
set;
}
}
}