30 lines
745 B
C#
30 lines
745 B
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
|
|
{
|
|
[Key, Column("ProdDbId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int ProdDbId { get; set; }
|
|
|
|
[Column("ProdId")]
|
|
public int ProdId { get; set; }
|
|
|
|
[Column("Prod_Description")]
|
|
public string Description { get; set; } = "";
|
|
|
|
[Column("Prod_Lock")]
|
|
public bool Locked { get; set; } = false;
|
|
|
|
}
|
|
}
|