37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace OSS.Models
|
|
{
|
|
public class ProjectExpansion
|
|
{
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int ExpansionID { get; set; }
|
|
[Required]
|
|
|
|
public string CompanyTIN { get; set; }
|
|
|
|
[Required]
|
|
public long ProjectID { get; set; }
|
|
|
|
public string CompanyName { get; set; }
|
|
public string OriginalCOI { get; set; }
|
|
public string ExpandedCOI { get; set; }
|
|
[Column(TypeName = "datetime2")]
|
|
public DateTime CreatedDate { get; set; }
|
|
[Column(TypeName = "datetime2")]
|
|
public DateTime ApprovedDate { get; set; }
|
|
public string ApprovedBy { get; set; }
|
|
public string ExpansionNo { get; set; }
|
|
[ForeignKey("CompanyTIN")]
|
|
public virtual CompanyProfileExternal CompanyProfile { get; set; }
|
|
[ForeignKey("ProjectID")]
|
|
public virtual ProjectProfileExternal ProjectProfiles { get; set; }
|
|
}
|
|
} |