shoc-backend/Api.SeaHavenIndustries/DTOs/UpdateDispatch_DTO.cs
Adam Moussa 63f76e9b2c Add dispatch detail modal backend + vendor reply sync
- Add DispatchNumber and CompletedDate to Dispatch model
- Add DispatchId to Comments for per-dispatch vendor threads
- GetDispatchById endpoint with vendor communication thread
- UpdateDispatch endpoint for status, NTE, dates, description
- AddDispatchComment endpoint — saves comment + sends email to vendor with sender name
- BackfillDispatchNumbers endpoint for existing dispatches
- SyncVendorReplies endpoint — pulls from DynamoDB VendorReplies table
- Fix reply-to address to include dispatch number
- Include sender name in dispatch and comment emails
2026-04-17 14:01:03 -04:00

19 lines
561 B
C#

namespace Api.SeaHavenIndustries.DTOs
{
public class UpdateDispatch_DTO
{
public int Id { get; set; }
public string? Status { get; set; }
public decimal? NTEAmount { get; set; }
public DateTime? ScheduledDate { get; set; }
public DateTime? CompletedDate { get; set; }
public string? Description { get; set; }
}
public class DispatchComment_DTO
{
public int DispatchId { get; set; }
public string? Text { get; set; }
public bool SendEmail { get; set; } = true;
}
}