mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 20:03:11 +00:00
20 lines
682 B
C#
20 lines
682 B
C#
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
|
||
|
|
namespace Data.SeaHavenIndustries
|
||
|
|
{
|
||
|
|
public class DispatchChecklistItem : FullAuditEntity
|
||
|
|
{
|
||
|
|
public int DispatchId { get; set; }
|
||
|
|
[ForeignKey(nameof(DispatchId))]
|
||
|
|
public virtual Dispatch? Dispatch { get; set; }
|
||
|
|
public int? WorkOrderId { get; set; }
|
||
|
|
[ForeignKey(nameof(WorkOrderId))]
|
||
|
|
public virtual WorkOrder? WorkOrder { get; set; }
|
||
|
|
public string? ItemText { get; set; }
|
||
|
|
public bool IsCompleted { get; set; }
|
||
|
|
public string? CompletedBy { get; set; }
|
||
|
|
public DateTime? CompletedAt { get; set; }
|
||
|
|
public int SortOrder { get; set; }
|
||
|
|
}
|
||
|
|
}
|