using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace NKC.Data.DbModels
{
//
// This is here so CodeMaid doesn't reorganize this document
//
//[Index(nameof(Installazione), nameof(Active), nameof(DiskStatus))]
[Table("MovMag")]
public partial class MovMagModel
{
///
/// Primary Key AUTO
///
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int MovID { get; set; }
///
/// DateTime record
///
public DateTime DtRec { get; set; } = DateTime.Now;
///
/// Ext ref for Remnants
///
public int RemnID { get; set; }
///
/// Qty recorded (delta +/-)
///
public int QtyRec { get; set; } = 0;
///
/// User modificatore
///
public string UserId { get; set; } = "";
///
/// Navigation property to Remnant
///
[ForeignKey("RemnID")]
public virtual RemnantsModel? RemnantNav { get; set; }
}
}