40 lines
1.3 KiB
C#
40 lines
1.3 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("Item")]
|
|
public partial class ItemModel
|
|
{
|
|
public ItemModel()
|
|
{
|
|
ItemFluxes = new HashSet<ItemFluxModel>();
|
|
ItemStocks = new HashSet<ItemStockModel>();
|
|
}
|
|
|
|
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; }
|
|
/// <summary>
|
|
/// valore unitario item
|
|
/// </summary>
|
|
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<ItemFluxModel> ItemFluxes { get; set; }
|
|
public virtual ICollection<ItemStockModel> ItemStocks { get; set; }
|
|
}
|
|
}
|