29 lines
727 B
C#
29 lines
727 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("ProjList")]
|
|
public class ProjModel
|
|
{
|
|
[Key, Column("ProjDbId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int ProjDbId { get; set; }
|
|
|
|
[Column("ProjId")]
|
|
public int ProjId { get; set; }
|
|
|
|
[Column("Proj_BTLFileName")]
|
|
public string BTLFileName { get; set; } = "";
|
|
|
|
[Column("ProdDbId")]
|
|
public int? ProdDbId { get; set; }
|
|
|
|
[ForeignKey("ProdDbId")]
|
|
public virtual ProdModel Prod { get; set; }
|
|
}
|
|
}
|