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 ApplicationManager { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long ApplicationID { get; set; } public string CompanyName { get; set; } [NotMapped] public bool declaration { get; set; } public string ProjectName { get; set; } public string Comments { get; set; } public string CompanyTIN { get; set; } public string ProjectCode { get; set; } public string EvaluationStatus { get; set; } public string MobileNo { get; set; } public string FullName { get; set; } public long? InvoiceID { get; set; } public string Station { get; set; } public string Currency { get; set; } public string GePGComment { get; set; } [Column(TypeName = "datetime2")] public System.DateTime StartDate { get; set; } [Column(TypeName = "datetime2")] public System.DateTime CreatedDate { get; set; } [Column(TypeName = "datetime2")] public System.DateTime Expiredate { get; set; } public decimal Amount { get; set; } public string ControlNo { get; set; } [Column(TypeName = "datetime2")] public Nullable UpdatedDate { get; set; } public string PaymentStatus { get; set; } public string CompanyEmail { get; set; } public string ReceiptNo { get; set; } [Column(TypeName = "datetime2")] public Nullable PayedDate { get; set; } public string CertificateNo { get; set; } public string ServiceName { get; set; } [ForeignKey("CompanyTIN")] public virtual CompanyProfileExternal CompanyProfileExternal { get; set; } [ForeignKey("CompanyEmail")] public virtual InvestorProfileExternal InvestorProfileExternals { get; set; } } }