mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 14:52:10 +00:00
- DispatchWorkOrder junction table for 1:N dispatch-to-WO relationship - Make Dispatch.WorkOrderId nullable (backward compat) - Add AcceptToken and AcknowledgedAt to Dispatch model - Dispatch_DTO accepts WorkOrderIds array - DispatchToVendor creates junction rows, email lists all WOs in table - GetDispatches queries both junction table and direct FK - GetDispatchById includes workOrders list from junction table - Migration with DispatchWorkOrder table
11 lines
353 B
C#
11 lines
353 B
C#
namespace Api.SeaHavenIndustries.DTOs
|
|
{
|
|
public class Dispatch_DTO
|
|
{
|
|
public List<int> WorkOrderIds { get; set; } = new();
|
|
public List<int> VendorIds { get; set; } = new();
|
|
public decimal? NTEAmount { get; set; }
|
|
public DateTime? ScheduledDate { get; set; }
|
|
public string? Description { get; set; }
|
|
}
|
|
}
|