GuidComune

This commit is contained in:
2025-12-22 17:01:43 +01:00
parent 8e4daf5f2e
commit 4c6c44ce6f
7 changed files with 1278 additions and 12 deletions

View File

@ -398,8 +398,8 @@ namespace StandManager.Infrastructure.Migrations
b.Property<string>("Cognome")
.HasColumnType("nvarchar(max)");
b.Property<string>("Comune")
.HasColumnType("nvarchar(max)");
b.Property<Guid?>("ComuneId")
.HasColumnType("uniqueidentifier");
b.Property<DateTime>("DataCreazione")
.HasColumnType("datetime2");
@ -471,6 +471,8 @@ namespace StandManager.Infrastructure.Migrations
b.HasIndex("ClienteId");
b.HasIndex("ComuneId");
b.HasIndex("DestinazioneId");
b.HasIndex("EventoId");
@ -941,6 +943,10 @@ namespace StandManager.Infrastructure.Migrations
.WithMany()
.HasForeignKey("ClienteId");
b.HasOne("StandManager.Domain.Entita.ComuneIstat", "Comune")
.WithMany()
.HasForeignKey("ComuneId");
b.HasOne("StandManager.Domain.Entita.Destinazione", "Destinazione")
.WithMany()
.HasForeignKey("DestinazioneId");
@ -971,6 +977,8 @@ namespace StandManager.Infrastructure.Migrations
b.Navigation("Cliente");
b.Navigation("Comune");
b.Navigation("Destinazione");
b.Navigation("Evento");