chore: Remove deprecated Project entities and pages

Remove files superseded by the Job model:
- Project, ProjectPart entities (replaced by Job, JobPart, JobStock)
- ProjectService (replaced by JobService)
- Projects UI pages (replaced by Jobs pages)
- MaterialStockLength entity (consolidated into StockItem)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 23:37:57 -05:00
parent 3b036308c8
commit 21cddb22c7
7 changed files with 0 additions and 1006 deletions

View File

@@ -1,13 +0,0 @@
namespace CutList.Web.Data.Entities;
public class MaterialStockLength
{
public int Id { get; set; }
public int MaterialId { get; set; }
public decimal LengthInches { get; set; }
public int Quantity { get; set; } = 0;
public string? Notes { get; set; }
public bool IsActive { get; set; } = true;
public Material Material { get; set; } = null!;
}

View File

@@ -1,15 +0,0 @@
namespace CutList.Web.Data.Entities;
public class Project
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Customer { get; set; }
public int? CuttingToolId { get; set; }
public string? Notes { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime? UpdatedAt { get; set; }
public CuttingTool? CuttingTool { get; set; }
public ICollection<ProjectPart> Parts { get; set; } = new List<ProjectPart>();
}

View File

@@ -1,15 +0,0 @@
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!;
}