using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace EgwCoreLib.Lux.Data.DbModel
{
[Table("JobRowItemList")]
public class JobRowItemModel
{
///
/// ID del record
///
[Key]
public int JobRowItemID { get; set; }
///
/// Fase del Ciclo di appartenenza
///
public int JobRowID { get; set; }
///
/// Indice della fase all'interno del Job
///
public int Index { get; set; } = 0;
///
/// ID della fase realizzata
///
public int ItemID { get; set; }
///
/// Descrizione della fase del Job
///
public string Description { get; set; } = "";
///
/// Quantità per UM
///
public double Qty { get; set; } = 1;
///
/// Navigazione su fasi ciclo
///
[ForeignKey("JobRowID")]
public virtual JobRowModel JobRowNav { get; set; } = null!;
///
/// Navigazione su Items
///
[ForeignKey("ItemID")]
public virtual ItemModel ItemNav { get; set; } = null!;
}
}