26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
77 lines
2.3 KiB
C#
Executable File
77 lines
2.3 KiB
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using DataModel.ViewModels;
|
|
|
|
namespace DataModel.Models
|
|
{
|
|
/// <summary>
|
|
/// JDE data filter criteria
|
|
/// </summary>
|
|
public class SearchCriteria
|
|
{
|
|
/// <summary>
|
|
/// Minimum timestamp to include
|
|
/// </summary>
|
|
public DateTime? MinimumDT { get; set; }
|
|
|
|
/// <summary>
|
|
/// Maxmimum timestamp to include
|
|
/// </summary>
|
|
public DateTime? MaximumDT { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of workorder numbers to include
|
|
/// </summary>
|
|
public List<long> WorkOrderNumbers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of item numbers to include
|
|
/// </summary>
|
|
public List<string> ItemNumbers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of included profit centers
|
|
/// </summary>
|
|
public List<string> ProfitCenters { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of included work centers
|
|
/// </summary>
|
|
public List<string> WorkCenters { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of included operator IDs
|
|
/// </summary>
|
|
public List<string> OperatorIDs { get; set; }
|
|
|
|
/// <summary>
|
|
/// Collection of included upper level lot numbers
|
|
/// </summary>
|
|
public List<LotViewModel> ComponentLotNumbers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether or not to extract MIS data
|
|
/// </summary>
|
|
public bool ExtractMisData { get; set; }
|
|
|
|
/// <summary>
|
|
/// List of part/operation combinations for MIS filtering
|
|
/// </summary>
|
|
public List<PartOperationViewModel> PartOperations { get; set; }
|
|
|
|
/// <summary>
|
|
/// Constructor
|
|
/// </summary>
|
|
public SearchCriteria()
|
|
{
|
|
WorkOrderNumbers = new List<long>();
|
|
ItemNumbers = new List<string>();
|
|
ProfitCenters = new List<string>();
|
|
WorkCenters = new List<string>();
|
|
OperatorIDs = new List<string>();
|
|
ComponentLotNumbers = new List<LotViewModel>();
|
|
PartOperations = new List<PartOperationViewModel>();
|
|
}
|
|
}
|
|
}
|