feat: remove Supplier/SupplierOffering/PurchaseItem entities and migrate schema

This commit is contained in:
aj
2026-08-01 08:49:05 -04:00
parent 41944638c6
commit 1b4d5f76a8
9 changed files with 868 additions and 318 deletions
@@ -7,14 +7,11 @@ public class StockTransaction
public int Quantity { get; set; }
public StockTransactionType Type { get; set; }
public int? JobId { get; set; }
public int? SupplierId { get; set; }
public decimal? UnitPrice { get; set; }
public string? Notes { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public StockItem StockItem { get; set; } = null!;
public Job? Job { get; set; }
public Supplier? Supplier { get; set; }
}
public enum StockTransactionType