Fix nomi modelli
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ namespace GPW.Api
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
logger.Info("LiMan.API Application Starting Up");
|
||||
logger.Info("GPW.API Application Starting Up");
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace GPW.Data.DBModels
|
||||
{
|
||||
public AnagGruppi()
|
||||
{
|
||||
Dipendentis = new HashSet<Dipendenti>();
|
||||
DipendentiNav = new HashSet<Dipendenti>();
|
||||
}
|
||||
|
||||
public string Gruppo { get; set; }
|
||||
@@ -17,6 +17,6 @@ namespace GPW.Data.DBModels
|
||||
public string CodExt { get; set; }
|
||||
public bool? ExportEnab { get; set; }
|
||||
|
||||
public virtual ICollection<Dipendenti> Dipendentis { get; set; }
|
||||
public virtual ICollection<Dipendenti> DipendentiNav { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace GPW.Data.DBModels
|
||||
{
|
||||
public AnagOrari()
|
||||
{
|
||||
Dipendentis = new HashSet<Dipendenti>();
|
||||
DipendentiNav = new HashSet<Dipendenti>();
|
||||
}
|
||||
|
||||
public string CodOrario { get; set; }
|
||||
@@ -34,6 +34,6 @@ namespace GPW.Data.DBModels
|
||||
public int ArrotMinuti { get; set; }
|
||||
public string ChkFun { get; set; }
|
||||
|
||||
public virtual ICollection<Dipendenti> Dipendentis { get; set; }
|
||||
public virtual ICollection<Dipendenti> DipendentiNav { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@ namespace GPW.Data.DBModels
|
||||
{
|
||||
public AnagTipoTimb()
|
||||
{
|
||||
Timbratures = new HashSet<Timbrature>();
|
||||
TimbratureNav = new HashSet<Timbrature>();
|
||||
}
|
||||
|
||||
public string CodTipoTimb { get; set; }
|
||||
public string DescrTipoTimb { get; set; }
|
||||
|
||||
public virtual ICollection<Timbrature> Timbratures { get; set; }
|
||||
public virtual ICollection<Timbrature> TimbratureNav { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace GPW.Data.DBModels
|
||||
//RegAttivita = new HashSet<RegAttivitum>();
|
||||
//RegAttivitaEgals = new HashSet<RegAttivitaEgal>();
|
||||
//RilievoTemps = new HashSet<RilievoTemp>();
|
||||
Timbratures = new HashSet<Timbrature>();
|
||||
TimbratureNav = new HashSet<Timbrature>();
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
@@ -53,7 +53,7 @@ namespace GPW.Data.DBModels
|
||||
//public virtual ICollection<RegAttivitum> RegAttivita { get; set; }
|
||||
//public virtual ICollection<RegAttivitaEgal> RegAttivitaEgals { get; set; }
|
||||
//public virtual ICollection<RilievoTemp> RilievoTemps { get; set; }
|
||||
public virtual ICollection<Timbrature> Timbratures { get; set; }
|
||||
public virtual ICollection<Timbrature> TimbratureNav { get; set; }
|
||||
|
||||
public string Utente { get; set; }
|
||||
public string WolMac { get; set; }
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace GPW.Data.DBModels
|
||||
public string CodTipoTimb { get; set; }
|
||||
public bool? Approv { get; set; }
|
||||
|
||||
public virtual AnagTipoTimb CodTipoTimbNavigation { get; set; }
|
||||
public virtual Dipendenti IdxDipendenteNavigation { get; set; }
|
||||
public virtual AnagTipoTimb CodTipoTimbNav { get; set; }
|
||||
public virtual Dipendenti DipNav { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1696,12 +1696,12 @@ namespace GPW.Data
|
||||
.HasColumnName("WOL_MAC");
|
||||
|
||||
entity.HasOne(d => d.CodOrarioNavigation)
|
||||
.WithMany(p => p.Dipendentis)
|
||||
.WithMany(p => p.DipendentiNav)
|
||||
.HasForeignKey(d => d.CodOrario)
|
||||
.HasConstraintName("FK_Dipendenti_AnagOrari");
|
||||
|
||||
entity.HasOne(d => d.GruppoNavigation)
|
||||
.WithMany(p => p.Dipendentis)
|
||||
.WithMany(p => p.DipendentiNav)
|
||||
.HasForeignKey(d => d.Gruppo)
|
||||
.HasConstraintName("FK_Dipendenti_AnagGruppi");
|
||||
});
|
||||
@@ -1735,13 +1735,13 @@ namespace GPW.Data
|
||||
.HasColumnName("IPv4")
|
||||
.HasDefaultValueSql("(N'0.0.0.0')");
|
||||
|
||||
entity.HasOne(d => d.CodTipoTimbNavigation)
|
||||
.WithMany(p => p.Timbratures)
|
||||
entity.HasOne(d => d.CodTipoTimbNav)
|
||||
.WithMany(p => p.TimbratureNav)
|
||||
.HasForeignKey(d => d.CodTipoTimb)
|
||||
.HasConstraintName("FK_Timbrature_AnagTipoTimb");
|
||||
|
||||
entity.HasOne(d => d.IdxDipendenteNavigation)
|
||||
.WithMany(p => p.Timbratures)
|
||||
entity.HasOne(d => d.DipNav)
|
||||
.WithMany(p => p.TimbratureNav)
|
||||
.HasForeignKey(d => d.IdxDipendente)
|
||||
.OnDelete(DeleteBehavior.ClientSetNull)
|
||||
.HasConstraintName("FK_Timbrature_Dipendenti");
|
||||
|
||||
Reference in New Issue
Block a user