// src/Webshop.Domain/Identity/ApplicationUser.cs using Microsoft.AspNetCore.Identity; using System; namespace Webshop.Domain.Identity // KORREKTER NAMESPACE { public class ApplicationUser : IdentityUser { public DateTimeOffset CreatedDate { get; set; } = DateTimeOffset.UtcNow; // Setzt Standardwert public DateTimeOffset? LastActive { get; set; } // Navigation Property zur Customer-Entität (One-to-One) // Customer ist nullable, falls nicht jeder ApplicationUser ein Customer-Profil hat public virtual Entities.Customer? Customer { get; set; } } }