shoc-backend/SeaHaven.Services/DTOs/WorkOrderUpliftDTOs.cs
Arthur Bassi 31d4352a23 fix(work-orders): accept a scanned uplift evidence file (SH-388)
Dispatchers can attach one evidence file, and create links it only
after that document has passed scanning.
2026-09-24 14:34:07 -03:00

35 lines
1.1 KiB
C#

namespace SeaHaven.Services.DTOs
{
public class WorkOrderUpliftDto
{
public int Id { get; set; }
public string Status { get; set; } = "pending";
public decimal Amount { get; set; }
public string Notes { get; set; } = "";
public DateTime? RequestedAt { get; set; }
public string? RequestedById { get; set; }
public string RequestedByName { get; set; } = "";
public DateTime? DecidedAt { get; set; }
public string DecidedByName { get; set; } = "";
public string DecisionNote { get; set; } = "";
public int? EvidenceDocumentId { get; set; }
public string EvidenceFileName { get; set; } = "";
}
public class WorkOrderUpliftListDto
{
public List<WorkOrderUpliftDto> Items { get; set; } = new();
}
public class CreateWorkOrderUpliftRequestDto
{
public decimal Amount { get; set; }
public string? Notes { get; set; }
public int? EvidenceDocumentId { get; set; }
}
public class RevokeWorkOrderUpliftRequestDto
{
public string? Reason { get; set; }
}
}