Update globale datamodels
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
using EgwCoreLib.Lux.Data.DbModel.Cost;
|
||||
using EgwCoreLib.Lux.Data.DbModel.Task;
|
||||
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;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace EgwCoreLib.Lux.Data.DbModel.Production
|
||||
{
|
||||
/// <summary>
|
||||
/// Tabella delle fasi di lavorazione x ogni item da produrre
|
||||
/// </summary>
|
||||
[Table("production_item_step")]
|
||||
public class ProductionItemStepModel
|
||||
{
|
||||
/// <summary>
|
||||
/// ID del record
|
||||
/// </summary>
|
||||
[Key]
|
||||
public int ProdItemStepID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Item di appartenenza
|
||||
/// </summary>
|
||||
public int ProdItemID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indice della fase all'interno del Job x produrre item
|
||||
/// </summary>
|
||||
public int Index { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// ID della fase realizzata
|
||||
/// </summary>
|
||||
public int PhaseID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ID dellaa risorsa impiegata
|
||||
/// </summary>
|
||||
public int ResourceID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Descrizione della fase del Job
|
||||
/// </summary>
|
||||
public string Description { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Margine percentuale standard
|
||||
/// </summary>
|
||||
public double Qty { get; set; } = 1;
|
||||
|
||||
/// DataOra inizio
|
||||
/// </summary>
|
||||
public DateTime? DateStart { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// DataOra fine
|
||||
/// </summary>
|
||||
public DateTime? DateEnd { get; set; } = null;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Tempo di lavorazione netto
|
||||
/// </summary>
|
||||
public double WorkTime { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione sui ProdItem
|
||||
/// </summary>
|
||||
[ForeignKey("ProdItemID")]
|
||||
public virtual ProductionItemModel ProdItemNav { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione Job/Cicli
|
||||
/// </summary>
|
||||
[ForeignKey("PhaseID")]
|
||||
public virtual PhaseModel PhaseNav { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione Job/Cicli
|
||||
/// </summary>
|
||||
[ForeignKey("ResourceID")]
|
||||
public virtual ResourceModel ResourceNav { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user