using System; using System.ComponentModel.DataAnnotations.Schema; using static System.Runtime.InteropServices.JavaScript.JSType; namespace Data.SeaHavenIndustries { public class WorkOrderContacts : FullAuditEntity { public int? ContactId { get; set; } [ForeignKey(nameof(ContactId))] public virtual Contacts? POC { get; set; } public int? WorkorderId { get; set; } [ForeignKey(nameof(WorkorderId))] public virtual WorkOrder? WorkOrder { get; set; } } }