ComuneIstat

This commit is contained in:
2025-12-19 10:38:51 +01:00
parent 39246b5d16
commit 1f87913904
15 changed files with 2379 additions and 36 deletions

View File

@ -40,4 +40,4 @@ public enum ClienteStato
Cliente = 0,
[Description("Potenziale cliente")]
Lead = 99
}
}

View File

@ -0,0 +1,13 @@
using StandManager.Domain.Entita.Base;
namespace StandManager.Domain.Entita;
public class ComuneIstat : EntitaBase
{
public string Istat { get; set; }
public string Comune { get; set; }
public string Regione { get; set; }
public string Provincia { get; set; }
public string Prefisso { get; set; }
public string CodFisco { get; set; }
}

View File

@ -24,6 +24,8 @@ public class Utente : EntitaBase
[ForeignKey(nameof(Capoarea))]
public Guid? CapoareaId { get; set; }
public Utente Capoarea { get; set; }
public bool IsCapoarea { get; set; }
public string Info => $"{Nome} {Cognome}";
public override string ToString()
{