shoc-backend/Data.SeaHavenIndustries/Models/WorkOrderContacts.cs

17 lines
560 B
C#

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; }
public string? Notes { get; set; }
}
}