OnProfNext/OnProfNext.Shared/Models/DTOs/UserDto.cs
2025-10-15 13:29:50 +02:00

22 lines
655 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnProfNext.Shared.Models.DTOs
{
public class UserDto
{
public int Id { get; set; }
public string Username { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public int MandantId { get; set; }
public bool IsActive { get; set; }
public string FullName => $"{FirstName} {LastName}".Trim();
}
}