Permessi_Parziale

This commit is contained in:
2025-12-17 08:55:21 +01:00
parent 8628025291
commit 18e39cc6a1
15 changed files with 191 additions and 38 deletions

View File

@ -0,0 +1,19 @@
using StandManager.Domain.Entita.Base;
using System.ComponentModel.DataAnnotations.Schema;
namespace StandManager.Domain.Entita;
public class Ruolo : EntitaBase
{
public Ruolo()
{
Nome = string.Empty;
}
public string Nome { get; set; }
[InverseProperty(nameof(Utente.Ruolo))]
public List<Utente> Utenti { get; set; }
[InverseProperty(nameof(Permission.Ruolo))]
public virtual List<Permission> Permessi { get; set; }
}