Aggiunta tab anag magazzini

This commit is contained in:
Samuele Locatelli
2022-11-17 11:59:11 +01:00
parent a242302fd0
commit d3eedba82a
7 changed files with 340 additions and 0 deletions
@@ -18,6 +18,7 @@ namespace MP.Data.DatabaseModels
public int InveSessID { get; set; }
public string Description { get; set; } = "";
public string UserCrea { get; set; } = "";
public int? MagID { get; set; } = null;
public DateTime DtStart { get; set; } = DateTime.Now;
public DateTime? DtEnd { get; set; } = null;
public bool Transferred { get; set; } = false;
@@ -33,5 +34,10 @@ namespace MP.Data.DatabaseModels
get => ((DtEnd != null && DtEnd > DtStart));
}
/// <summary>
/// Navigazione oggetto Magazzino
/// </summary>
[ForeignKey("MagID")]
public virtual AnagMagModel AnagMagNav { get; set; } = null;
}
}