mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 07:33:14 +00:00
18 lines
518 B
C#
18 lines
518 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; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|