using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace StockMan.Data.DbModels { // // This is here so CodeMaid doesn't reorganize this document // [Table("Location")] public partial class LocationModel { public LocationModel() { ItemFluxExtLocations = new HashSet(); ItemFluxLocations = new HashSet(); ItemStocks = new HashSet(); } public string Id { get; set; } = null!; public string Descr { get; set; } = null!; public string LocTypeId { get; set; } = null!; [ForeignKey("LocTypeId")] public virtual LocTypeModel LocTypeNav { get; set; } = null!; public virtual ICollection ItemFluxExtLocations { get; set; } public virtual ICollection ItemFluxLocations { get; set; } public virtual ICollection ItemStocks { get; set; } } }