// src/Webshop.Application/DTOs/Users/UserDto.cs using System; using System.Collections.Generic; namespace Webshop.Application.DTOs.Users { public class UserDto { public string Id { get; set; } = string.Empty; // Vom ApplicationUser.Id public string Email { get; set; } = string.Empty; // Vom ApplicationUser.Email public string UserName { get; set; } = string.Empty; // Vom ApplicationUser.UserName public List Roles { get; set; } = new List(); // Aus Identity-System public DateTimeOffset CreatedDate { get; set; } // Vom ApplicationUser.CreatedDate public bool EmailConfirmed { get; set; } // Vom ApplicationUser.EmailConfirmed public DateTimeOffset? LastActive { get; set; } // Vom ApplicationUser.LastActive public string? PhoneNumber { get; set; } // Vom ApplicationUser.PhoneNumber // << NEU: Customer-Felder, die NICHT in ApplicationUser sind >> public string FirstName { get; set; } = string.Empty; // Vom Customer.FirstName public string LastName { get; set; } = string.Empty; // Vom Customer.LastName public Guid? DefaultShippingAddressId { get; set; } // Vom Customer public Guid? DefaultBillingAddressId { get; set; } // Vom Customer } }