50 lines
1.8 KiB
C#
50 lines
1.8 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("ItemFlux")]
|
|
public partial class ItemFluxModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int ItemId { get; set; }
|
|
/// <summary>
|
|
/// posizione stock magazzino
|
|
/// </summary>
|
|
public string LocationId { get; set; } = null!;
|
|
public string MovTypeId { get; set; } = null!;
|
|
/// <summary>
|
|
/// posizione esterna fornitore/cliente
|
|
/// </summary>
|
|
public string ExtLocationId { get; set; } = null!;
|
|
public DateTime DtMov { get; set; }
|
|
public int Qta { get; set; }
|
|
/// <summary>
|
|
/// valore unitario item
|
|
/// </summary>
|
|
public decimal TotValue { get; set; }
|
|
public decimal UnitVal { get; set; }
|
|
public string OperatorId { get; set; } = null!;
|
|
public string Note { get; set; } = null!;
|
|
public string CodDoc { get; set; } = null!;
|
|
/// <summary>
|
|
/// data export verso ERP
|
|
/// </summary>
|
|
public DateTime? DtExport { get; set; }
|
|
public string ModOperatorId { get; set; } = null!;
|
|
|
|
[ForeignKey("ExtLocationId")]
|
|
public virtual LocationModel ExtLocation { get; set; } = null!;
|
|
public virtual ItemModel Item { get; set; } = null!;
|
|
[ForeignKey("LocationId")]
|
|
public virtual LocationModel Location { get; set; } = null!;
|
|
public virtual OperatorModel ModOperator { get; set; } = null!;
|
|
public virtual MovTypeModel MovType { get; set; } = null!;
|
|
public virtual OperatorModel Operator { get; set; } = null!;
|
|
}
|
|
}
|