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 StepsManagement { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int StepID { get; set; } [Required] public string CompanyName { get; set; } public string CompanyTIN { get; set; } [StringLength(255)] public string ProjectCode { get; set; } [DataType(DataType.EmailAddress)] public string CompanyEmail { get; set; } public string ApplicationType { get; set; } public string StepNo { get; set; } public DateTime CreatedDate { get; set; } public DateTime UpdatedDate { get; set; } public string SubmittedStatus { get; set; } public string EvaluationStatus { get; set; } [ForeignKey("CompanyTIN")] public virtual CompanyProfileExternal CompanyProfileExternal { get; set; } [ForeignKey("CompanyEmail")] public virtual InvestorProfileExternal InvestorProfileExternals { get; set; } } }