refactor: Rename Project to Job with enhanced model

Rename the Project concept to Job for clarity:
- Add Job, JobPart, JobStock entities
- JobStock supports both inventory stock and custom lengths
- Add JobNumber field for job identification
- Add priority-based stock allocation for cut optimization
- Include Jobs UI pages (Index, Edit, Results)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 23:37:24 -05:00
parent dfc767320a
commit ce14dd50cb
13 changed files with 3417 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
namespace CutList.Web.Data.Entities;
public class JobPart
{
public int Id { get; set; }
public int JobId { 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 Job Job { get; set; } = null!;
public Material Material { get; set; } = null!;
}