Files
CutList/CutList.Web/Data/Entities/ProjectPart.cs
AJ Isaacs ced272d3e3 feat: Support multi-material project parts
Each project part now references its own material, allowing a single
project to use multiple material types. Removes ProjectStockBin entity
since stock is now derived from material stock lengths.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 23:54:59 -05:00

16 lines
462 B
C#

namespace CutList.Web.Data.Entities;
public class ProjectPart
{
public int Id { get; set; }
public int ProjectId { get; set; }
public int MaterialId { get; set; }
public string Name { get; set; } = string.Empty;
public decimal LengthInches { get; set; }
public int Quantity { get; set; } = 1;
public int SortOrder { get; set; }
public Project Project { get; set; } = null!;
public Material Material { get; set; } = null!;
}