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>
16 lines
446 B
C#
16 lines
446 B
C#
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!;
|
|
}
|