Files
lux/EgwCoreLib.Lux.Data/DbModel/Task/JobStepItemModel.cs
T
2025-09-19 18:54:17 +02:00

58 lines
1.5 KiB
C#

using EgwCoreLib.Lux.Data.DbModel.Items;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace EgwCoreLib.Lux.Data.DbModel.Task
{
[Table("task_job_step_item")]
public class JobStepItemModel
{
/// <summary>
/// ID del record
/// </summary>
[Key]
public int JobStepItemID { get; set; }
/// <summary>
/// Fase del Ciclo di appartenenza
/// </summary>
public int JobStepID { get; set; }
/// <summary>
/// Indice della fase all'interno del Job
/// </summary>
public int Index { get; set; } = 0;
/// <summary>
/// ID della fase realizzata
/// </summary>
public int ItemID { get; set; }
/// <summary>
/// Descrizione della fase del Job
/// </summary>
public string Description { get; set; } = "";
/// <summary>
/// Quantità per UM
/// </summary>
public double Qty { get; set; } = 1;
/// <summary>
/// Navigazione su fasi ciclo
/// </summary>
[ForeignKey("JobStepID")]
public virtual JobStepModel JobStepNav { get; set; } = null!;
/// <summary>
/// Navigazione su Items
/// </summary>
[ForeignKey("ItemID")]
public virtual ItemModel ItemNav { get; set; } = null!;
}
}