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("Item")] public partial class ItemModel { public ItemModel() { ItemFluxes = new HashSet(); ItemStocks = new HashSet(); } public int Id { get; set; } public string Descr { get; set; } = null!; public string CodInt { get; set; } = null!; public string ItemFamilyId { get; set; } = null!; public string CodExt { get; set; } = null!; public string DescrExt { get; set; } = null!; public int QtaMin { get; set; } public int QtaBatch { get; set; } /// /// valore unitario item /// public decimal CurrValue { get; set; } public int? QtaCurr { get; set; } public int? QtaPend { get; set; } public string Um { get; set; } = null!; public virtual ItemFamilyModel ItemFamily { get; set; } = null!; public virtual ICollection ItemFluxes { get; set; } public virtual ICollection ItemStocks { get; set; } } }