Files
2023-02-27 16:51:41 +01:00

30 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace StockMan.Data.DbModels
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
[Table("Location")]
public partial class LocationModel
{
public LocationModel()
{
ItemFluxExtLocations = new HashSet<ItemFluxModel>();
ItemFluxLocations = new HashSet<ItemFluxModel>();
ItemStocks = new HashSet<ItemStockModel>();
}
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<ItemFluxModel> ItemFluxExtLocations { get; set; }
public virtual ICollection<ItemFluxModel> ItemFluxLocations { get; set; }
public virtual ICollection<ItemStockModel> ItemStocks { get; set; }
}
}