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:
15
CutList.Web/Data/Entities/JobPart.cs
Normal file
15
CutList.Web/Data/Entities/JobPart.cs
Normal 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!;
|
||||
}
|
||||
Reference in New Issue
Block a user