KoogleApp/Koogle.Domain/Entities/UserProfile.cs

45 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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