42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace EgwCoreLib.Lux.Data.DbModel.Production
|
|
{
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
|
|
[Table("production_batch")]
|
|
public class ProductionBatchModel
|
|
{
|
|
/// <summary>
|
|
/// ID del Batch di produzione
|
|
/// </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;
|
|
|
|
|
|
}
|
|
}
|