Files
egtbeamwall/EgtBEAMWALL.DataLayer/DatabaseModels/ProdModel.cs
T
2021-04-03 12:49:19 +02:00

59 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EgtBEAMWALL.DataLayer.DatabaseModels
{
/// <summary>
/// Tabella deiu raggruppamenti PROJ in forma di PROD
/// </summary>
[Table("ProdList")]
public class ProdModel
{
#region Public Properties
[Column("Description")]
public string Description { get; set; } = "";
/// <summary>
/// Data Creazione
/// </summary>
[Column("DtCreated")]
public DateTime DtCreated { get; set; }
/// <summary>
/// Data Esportazione
/// </summary>
[Column("DtExported")]
public DateTime DtExported { get; set; }
/// <summary>
/// Stato NEW = creato ma NON salvato
/// </summary>
[Column("IsNew")]
public bool IsNew { get; set; } = true;
/// <summary>
/// ListName del BTL
/// </summary>
[Column("ListName")]
public string ListName { get; set; } = "";
/// <summary>
/// Stato locked (quando aperto da un dispositivo in rete)
/// </summary>
[Column("Lock")]
public bool Locked { get; set; } = false;
[Key, Column("ProdDbId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ProdDbId { get; set; }
[Column("Id")]
public int ProdId { get; set; }
#endregion Public Properties
}
}