mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 21:13:12 +00:00
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using Data.SeaHavenIndustries.Enums;
|
|
using SeaHaven.DataServices.Interfaces;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public record WorkOrderAdvancedSearchQuery(
|
|
string? Search,
|
|
DateOnly DateFrom,
|
|
DateOnly DateTo,
|
|
bool UnscheduledOnly,
|
|
IReadOnlyList<string>? Sites,
|
|
IReadOnlyList<string>? Regions,
|
|
IReadOnlyList<WorkOrderType>? Types,
|
|
bool Overdue,
|
|
IReadOnlyList<string>? Dispatchers,
|
|
IReadOnlyList<LifecycleStatus>? Statuses,
|
|
IReadOnlyList<string>? PmTypes,
|
|
IReadOnlyList<int>? VendorIds,
|
|
IReadOnlyList<DocStatus>? DocStatuses,
|
|
IReadOnlyList<int>? Severities,
|
|
bool Rescheduled,
|
|
bool CarriedOver,
|
|
bool AddOn,
|
|
bool AvetaOnly,
|
|
IReadOnlyList<string>? FlagColors,
|
|
bool InternalOnly,
|
|
bool HasUplift,
|
|
IReadOnlyList<string>? UpliftStatuses,
|
|
bool MyWorkOrders,
|
|
string? CurrentUserId,
|
|
int Page,
|
|
int PageSize,
|
|
string SortBy,
|
|
string SortDir,
|
|
int? AccountId = null);
|
|
|
|
public record WorkOrderAdvancedSearchResult(
|
|
IReadOnlyList<WorkOrderBoardRawRow> Rows,
|
|
int TotalCount);
|
|
}
|