Aggiunta schema DB + batch e item produzione

This commit is contained in:
Samuele Locatelli
2025-07-03 18:13:13 +02:00
parent 2d0a90837a
commit fa25480b08
8 changed files with 1578 additions and 10 deletions
+41
View File
@@ -0,0 +1,41 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Lux.Data.DbModel
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
[Table("ProductionBatch")]
public class ProductionBatchModel
{
/// <summary>
/// ID dell'articolo
/// </summary>
[Key]
public int ProductionBatchID { get; set; }
/// <summary>
/// Descrizione
/// </summary>
public string Description { get; set; } = "";
/// <summary>
/// DataOra prevista esecuzione
/// </summary>
public DateTime DueDate { get; set; } = DateTime.Today.AddMonths(1);
/// <summary>
/// DataOra inizio
/// </summary>
public DateTime? DateStart { get; set; } = null;
/// <summary>
/// DataOra fine
/// </summary>
public DateTime? DateEnd { get; set; } = null;
}
}