mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 20:23:13 +00:00
44 lines
1.6 KiB
C#
44 lines
1.6 KiB
C#
namespace SeaHaven.Services.DTOs
|
|
{
|
|
public class WorkOrderDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string? InternalWONumber { get; set; }
|
|
public string? WorkerOrderTitle { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? Status { get; set; }
|
|
public string? Priority { get; set; }
|
|
public int? LocationId { get; set; }
|
|
public string? LocationName { get; set; }
|
|
public string? AssignTo { get; set; }
|
|
public DateTime? DueDate { get; set; }
|
|
public DateTime? CompletedDate { get; set; }
|
|
public DateTime? CreatedDate { get; set; }
|
|
public string? CreatedBy { get; set; }
|
|
public DateTime? ModifiedDate { get; set; }
|
|
public string? ModifiedBy { get; set; }
|
|
}
|
|
|
|
public class CreateWorkOrderDTO
|
|
{
|
|
public required string WorkerOrderTitle { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? Status { get; set; }
|
|
public string? Priority { get; set; }
|
|
public int? LocationId { get; set; }
|
|
public string? AssignTo { get; set; }
|
|
public DateTime? DueDate { get; set; }
|
|
}
|
|
|
|
public class UpdateWorkOrderDTO
|
|
{
|
|
public string? WorkerOrderTitle { get; set; }
|
|
public string? Description { get; set; }
|
|
public string? Status { get; set; }
|
|
public string? Priority { get; set; }
|
|
public int? LocationId { get; set; }
|
|
public string? AssignTo { get; set; }
|
|
public DateTime? DueDate { get; set; }
|
|
public DateTime? CompletedDate { get; set; }
|
|
}
|
|
}
|