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:
@@ -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!;
|
||||
}
|
||||
@@ -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>();
|
||||
}
|
||||
@@ -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!;
|
||||
}
|
||||
Reference in New Issue
Block a user