using JdeScoping.ExcelIO.Models.Reporting; using SearchResult = JdeScoping.Core.Models.SearchResults.SearchResult; namespace JdeScoping.ExcelIO.Tests.Fixtures; public class WithResultsFixture : WorkbookFixtureBase { protected override SearchModel CreateSearchModel() => new() { Id = 1, Name = "Search With Results", UserName = "testuser", SubmitDt = new DateTime(2024, 1, 15, 14, 30, 45), StartDt = new DateTime(2024, 1, 15, 14, 31, 0), EndDt = new DateTime(2024, 1, 15, 14, 35, 0), ExtractMisData = false, Results = [ new SearchResult { WorkOrderNumber = 12345, WorkOrderBranchCode = "001", LotNumber = "LOT-001", ItemNumber = "ITEM-001", PlanningFamily = "PF01", StockingType = "M", OrderQuantity = 100, HeldQuantity = 0, ScrappedQuantity = 0, ShippedQuantity = 50, StepBranchCode = "001", StepNumber = 10, StepDescription = "Assembly", FunctionOperationDescription = "Main assembly operation", StepUpdateDt = new DateTime(2024, 1, 14, 10, 0, 0), StatusCode = "50", StatusDescription = "In Progress", StatusUpdateDt = new DateTime(2024, 1, 14, 10, 0, 0), Flagged = true } ] }; }