This commit is contained in:
2025-12-17 14:42:45 +01:00
parent d443ece2ca
commit 875396e6ee
32 changed files with 1669 additions and 286 deletions

View File

@ -18,6 +18,10 @@ public class Cliente : EntitaBase
[ForeignKey(nameof(Agente))]
public Guid? AgenteId { get; set; }
public Utente Agente { get; set; }
[ForeignKey(nameof(Capoarea))]
public Guid? CapoareaId { get; set; }
public Utente Capoarea { get; set; }
[InverseProperty(nameof(Destinazione.Cliente))]
public List<Destinazione> Destinazioni { get; set; }

View File

@ -17,5 +17,6 @@ public enum FeatureType
Insert = 0,
Edit,
Delete,
Capoarea = 50,
AdminGlobal = 100
}

View File

@ -20,6 +20,10 @@ public class Utente : EntitaBase
[ForeignKey(nameof(Ruolo))]
public Guid? RuoloId { get; set; }
public Ruolo Ruolo { get; set; }
[ForeignKey(nameof(Capoarea))]
public Guid? CapoareaId { get; set; }
public Utente Capoarea { get; set; }
public override string ToString()
{