Files
jdescopingtool/OLD/DataModel/Models/SearchCriteria.cs
T
Joseph Doherty 26ff8d9b4f Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/),
new .NET 10 Blazor solution (NEW/), OpenSpec specifications,
documentation, and project configuration.
2026-01-02 07:43:29 -05:00

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>();
}
}
}