feat: add revision tracking to CutTemplate and scope BOM items to export record

Each export record now keeps a complete BOM snapshot instead of moving
BomItems between records. CutTemplate gains a Revision field that
auto-increments when the content hash changes across exports for the
same drawing+item, and stays the same when the geometry is unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 08:47:11 -05:00
parent 463916c75c
commit 0d5742124e
8 changed files with 350 additions and 5 deletions
+1
View File
@@ -39,6 +39,7 @@ namespace FabWorks.Api.DTOs
public int Id { get; set; }
public string DxfFilePath { get; set; }
public string ContentHash { get; set; }
public int Revision { get; set; }
public double? Thickness { get; set; }
public double? KFactor { get; set; }
public double? DefaultBendRadius { get; set; }