shoc-backend/Data.SeaHavenIndustries/Models/WorkOrderCompletionSnapshot.cs
Arthur Bassi e0139d4601 feat(work-orders): capture Site/Vendor/POC snapshot on Completed
Freeze effective live values on first Completed transition and project them on GET.
2026-09-10 15:46:25 -03:00

40 lines
1.2 KiB
C#

namespace Data.SeaHavenIndustries
{
public sealed class WorkOrderFrozenSite
{
public string? Code { get; set; }
public string? Label { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zip { get; set; }
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Maps { get; set; }
}
public sealed class WorkOrderFrozenCompany
{
public string? Name { get; set; }
public string? ContactName { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zip { get; set; }
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Maps { get; set; }
}
public sealed class WorkOrderFrozenPoc
{
public List<WorkOrderFrozenPocContact> Contacts { get; set; } = new();
public string? Notes { get; set; }
}
public sealed class WorkOrderFrozenPocContact
{
public string? Name { get; set; }
public string? Phone { get; set; }
}
}