Permessi_Parziale
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using StandManager.Domain.Entita.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace StandManager.Domain.Entita;
|
||||
|
||||
@ -16,6 +17,10 @@ public class Utente : EntitaBase
|
||||
public string Nome { get; set; }
|
||||
public string Cognome { get; set; }
|
||||
public string? CodiceAgente { get; set; }
|
||||
[ForeignKey(nameof(Ruolo))]
|
||||
public Guid? RuoloId { get; set; }
|
||||
public Ruolo Ruolo { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Nome} {Cognome}";
|
||||
|
||||
Reference in New Issue
Block a user