Files
Tizian.Breuch c1ee56c81c try
2025-07-29 14:04:35 +02:00

16 lines
608 B
C#

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