Aggiunta classe movimenti magazzino
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace NKC.Data.DbModels
|
||||
{
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
//[Index(nameof(Installazione), nameof(Active), nameof(DiskStatus))]
|
||||
[Table("MovMag")]
|
||||
public partial class MovMagModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Primary Key AUTO
|
||||
/// </summary>
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int MovID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// DateTime record
|
||||
/// </summary>
|
||||
public DateTime DtRec { get; set; } = DateTime.Now;
|
||||
|
||||
/// <summary>
|
||||
/// Ext ref for Remnants
|
||||
/// </summary>
|
||||
public int RemnID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Qty recorded (delta +/-)
|
||||
/// </summary>
|
||||
public int QtyRec { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Navigation property to Remnant
|
||||
/// </summary>
|
||||
[ForeignKey("RemnID")]
|
||||
public virtual RemnantsModel RemnantNav { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user