43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace GPW.CORE
|
|
{
|
|
/// <summary>
|
|
/// DTO info utente
|
|
/// </summary>
|
|
public class UserDTO
|
|
{
|
|
|
|
public int IdxDip { get; set; } = 0;
|
|
public string Cognome { get; set; } = "";
|
|
public string Nome { get; set; } = "";
|
|
|
|
public string Cf { get; set; } = null!;
|
|
public string? Matricola { get; set; }
|
|
public DateTime? DataNascita { get; set; }
|
|
public string Email { get; set; } = null!;
|
|
public string AuthKey { get; set; } = null!;
|
|
public string Dominio { get; set; } = null!;
|
|
public string Utente { get; set; } = "";
|
|
public string? Gruppo { get; set; }
|
|
public bool? Attivo { get; set; }
|
|
|
|
#if false
|
|
public bool isAdmin { get; set; } = false;
|
|
#endif
|
|
|
|
public string DisplayName
|
|
{
|
|
get => $"{Cognome} {Nome} [{IdxDip}]";
|
|
}
|
|
|
|
}
|
|
}
|