mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 14:33:15 +00:00
33 lines
966 B
C#
33 lines
966 B
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 class WorkOrderUpliftListDto
|
||
|
|
{
|
||
|
|
public List<WorkOrderUpliftDto> Items { get; set; } = new();
|
||
|
|
}
|
||
|
|
|
||
|
|
public class CreateWorkOrderUpliftRequestDto
|
||
|
|
{
|
||
|
|
public decimal Amount { get; set; }
|
||
|
|
public string? Notes { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class RevokeWorkOrderUpliftRequestDto
|
||
|
|
{
|
||
|
|
public string? Reason { get; set; }
|
||
|
|
}
|
||
|
|
}
|