mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 11:22:09 +00:00
fix(work-orders): finalize PR 22 integration compile fixes
This commit is contained in:
parent
e5cf4cec09
commit
78abf84b0d
2 changed files with 2 additions and 21 deletions
|
|
@ -40,27 +40,6 @@ namespace SeaHaven.Services.DTOs
|
||||||
public string? VendorNotes { get; set; }
|
public string? VendorNotes { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Advanced search / filter query for the board.</summary>
|
|
||||||
public class WorkOrderAdvancedSearchQueryDto
|
|
||||||
{
|
|
||||||
public int Page { get; set; } = 0;
|
|
||||||
public int PageSize { get; set; } = 100;
|
|
||||||
public string? Search { get; set; }
|
|
||||||
public WorkOrderAdvancedSearchDatePreset? DatePreset { get; set; }
|
|
||||||
public DateOnly? DateFrom { get; set; }
|
|
||||||
public DateOnly? DateTo { get; set; }
|
|
||||||
public List<string>? Sites { get; set; }
|
|
||||||
public List<WorkOrderType>? Types { get; set; }
|
|
||||||
public List<string>? Dispatchers { get; set; }
|
|
||||||
public List<LifecycleStatus>? Statuses { get; set; }
|
|
||||||
public List<string>? PmTypes { get; set; }
|
|
||||||
public List<int>? VendorIds { get; set; }
|
|
||||||
public List<DocStatus>? DocStatuses { get; set; }
|
|
||||||
public bool MyWorkOrders { get; set; }
|
|
||||||
public string? SortBy { get; set; }
|
|
||||||
public string? SortDir { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>Advanced search / filter query for the board.</summary>
|
/// <summary>Advanced search / filter query for the board.</summary>
|
||||||
public class WorkOrderAdvancedSearchQueryDto
|
public class WorkOrderAdvancedSearchQueryDto
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,12 @@ using Data.SeaHavenIndustries;
|
||||||
using Data.SeaHavenIndustries.Enums;
|
using Data.SeaHavenIndustries.Enums;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using SeaHaven.DataServices.Implementation;
|
using SeaHaven.DataServices.Implementation;
|
||||||
|
using SeaHaven.Services.Constants;
|
||||||
using SeaHaven.Services.DTOs;
|
using SeaHaven.Services.DTOs;
|
||||||
using SeaHaven.Services.Exceptions;
|
using SeaHaven.Services.Exceptions;
|
||||||
using SeaHaven.Services.Helpers;
|
using SeaHaven.Services.Helpers;
|
||||||
using SeaHaven.Services.Implementation;
|
using SeaHaven.Services.Implementation;
|
||||||
|
using SeaHaven.Services.Interfaces;
|
||||||
|
|
||||||
namespace SeaHavenIndustries.Tests;
|
namespace SeaHavenIndustries.Tests;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue