18 lines
690 B
C#
18 lines
690 B
C#
// src/Webshop.Application/DTOs/Users/UserDto.cs
|
|
namespace Webshop.Application.DTOs.Users
|
|
{
|
|
public class UserDto
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string UserName { get; set; } = string.Empty;
|
|
public List<string> Roles { get; set; } = new List<string>();
|
|
public DateTimeOffset CreatedDate { get; set; }
|
|
public bool EmailConfirmed { get; set; }
|
|
|
|
// Hinzugefügte Felder
|
|
public DateTimeOffset? LastActive { get; set; }
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
}
|
|
} |