Files
CutList/CutList.Web/DTOs/CuttingToolDtos.cs
AJ Isaacs 17f16901ef feat: Add full REST API with controllers, DTOs, and service layer
Add controllers for suppliers, stock items, jobs, cutting tools, and
packing. Refactor MaterialsController to use MaterialService with
dimension-aware CRUD, search, and bulk operations. Extract DTOs into
dedicated files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 16:53:53 -05:00

25 lines
608 B
C#

namespace CutList.Web.DTOs;
public class CuttingToolDto
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public decimal KerfInches { get; set; }
public bool IsDefault { get; set; }
public bool IsActive { get; set; }
}
public class CreateCuttingToolDto
{
public string Name { get; set; } = string.Empty;
public decimal KerfInches { get; set; }
public bool IsDefault { get; set; }
}
public class UpdateCuttingToolDto
{
public string? Name { get; set; }
public decimal? KerfInches { get; set; }
public bool? IsDefault { get; set; }
}