refactor: strip supplier/pricing from StockItemService and stock-items API

This commit is contained in:
aj
2026-08-01 08:27:55 -04:00
parent 06f0c2032d
commit e7248be9a4
3 changed files with 3 additions and 93 deletions
-11
View File
@@ -37,9 +37,6 @@ public class StockTransactionDto
public string Type { get; set; } = string.Empty;
public int? JobId { get; set; }
public string? JobNumber { get; set; }
public int? SupplierId { get; set; }
public string? SupplierName { get; set; }
public decimal? UnitPrice { get; set; }
public string? Notes { get; set; }
public DateTime CreatedAt { get; set; }
}
@@ -47,8 +44,6 @@ public class StockTransactionDto
public class AddStockDto
{
public int Quantity { get; set; }
public int? SupplierId { get; set; }
public decimal? UnitPrice { get; set; }
public string? Notes { get; set; }
}
@@ -70,9 +65,3 @@ public class ScrapStockDto
public int Quantity { get; set; }
public string? Notes { get; set; }
}
public class StockPricingDto
{
public decimal? AverageCost { get; set; }
public decimal? LastPurchasePrice { get; set; }
}