27 lines
654 B
C#
27 lines
654 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.DbDataLayer.DatabaseModels
|
|
{
|
|
[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;
|
|
|
|
}
|
|
}
|