45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Security.AccessControl;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Koogle.Domain.Entities
|
||
{
|
||
/// <summary>
|
||
/// represents a Domain-Profil for an application user, related to Identity User.
|
||
/// </summary>
|
||
public class UserProfile : BaseEntity
|
||
{
|
||
/// <summary>
|
||
/// reference to the identity user id.
|
||
/// </summary>
|
||
public Guid IdentityUserId { get; set; }
|
||
|
||
/// <summary>
|
||
/// Optionaler Anzeigename (z.B. für UI/Listen).
|
||
/// Keine sicherheitsrelevante Info – Identity bleibt führend für UserName/Email.
|
||
/// </summary>
|
||
public string DisplayName { get; set; } = string.Empty;
|
||
|
||
|
||
/// <summary>
|
||
/// Clubs, in denen dieses Profil Mitglied ist.
|
||
/// </summary>
|
||
public ICollection<UserProfileClub> Clubs { get; set; } = new List<UserProfileClub>();
|
||
|
||
|
||
/// <summary>
|
||
/// Optional: Sprache/Locale für UI (z.B. "de-DE").
|
||
/// </summary>
|
||
public string? Locale { get; set; }
|
||
|
||
/// <summary>
|
||
/// Optional: Zeitzone (IANA oder Windows Id – je nach Strategie).
|
||
/// Beispiel: "Europe/Berlin".
|
||
/// </summary>
|
||
public string? TimeZone { get; set; }
|
||
}
|
||
}
|