Aggiunta schema DB + batch e item produzione
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user