Add a new web-based frontend for cut list optimization using: - Blazor Server with .NET 8 - Entity Framework Core with MSSQL LocalDB - Full CRUD for Materials, Suppliers, Projects, and Cutting Tools - Supplier stock length management for quick project setup - Integration with CutList.Core for bin packing optimization - Print-friendly HTML reports with efficiency statistics Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
458 B
C#
16 lines
458 B
C#
namespace CutList.Web.Data.Entities;
|
|
|
|
public class SupplierStock
|
|
{
|
|
public int Id { get; set; }
|
|
public int SupplierId { get; set; }
|
|
public int MaterialId { get; set; }
|
|
public decimal LengthInches { get; set; }
|
|
public decimal? Price { get; set; }
|
|
public string? Notes { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
public Supplier Supplier { get; set; } = null!;
|
|
public Material Material { get; set; } = null!;
|
|
}
|