Update struttura codifica eventi + seed dei relativi dati
This commit is contained in:
@@ -31,7 +31,7 @@ namespace MP.MONO.Data.DbModels
|
||||
/// <summary>
|
||||
/// Tipologia di evento registrato
|
||||
/// </summary>
|
||||
public int CodEventId { get; set; }
|
||||
public string CodEvent { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Valore opzionale associato
|
||||
@@ -48,7 +48,7 @@ namespace MP.MONO.Data.DbModels
|
||||
/// <summary>
|
||||
/// Navigazione oggetto Evento
|
||||
/// </summary>
|
||||
[ForeignKey("CodEventId")]
|
||||
public virtual CodEventModel CodEventNav { get; set; } = null!;
|
||||
[ForeignKey("CodEvent")]
|
||||
public virtual EventModel CodEventNav { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user