using System.ComponentModel.DataAnnotations.Schema; namespace Data.SeaHavenIndustries { public class Dispatch : FullAuditEntity { public int WorkOrderId { get; set; } [ForeignKey(nameof(WorkOrderId))] public virtual WorkOrder? WorkOrder { get; set; } public int VendorId { get; set; } [ForeignKey(nameof(VendorId))] public virtual Vendor? Vendor { get; set; } public string? PONumber { get; set; } public decimal? NTEAmount { get; set; } public string? Description { get; set; } public string? Status { get; set; } public DateTime? DispatchedAt { get; set; } public bool EmailSent { get; set; } public string? ReplyToAddress { get; set; } } }