mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 18:53:12 +00:00
18 lines
527 B
C#
18 lines
527 B
C#
|
|
using System;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using static System.Runtime.InteropServices.JavaScript.JSType;
|
|||
|
|
|
|||
|
|
namespace Data.SeaHavenIndustries
|
|||
|
|
{
|
|||
|
|
public class WorkOrderCategories : FullAuditEntity
|
|||
|
|
{
|
|||
|
|
public int? CategoryId { get; set; }
|
|||
|
|
[ForeignKey(nameof(CategoryId))]
|
|||
|
|
public virtual Category? Category { get; set; }
|
|||
|
|
public int? WorkorderId { get; set; }
|
|||
|
|
[ForeignKey(nameof(WorkorderId))]
|
|||
|
|
public virtual WorkOrder? WorkOrder { get; set; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|