No job workflow ever called these (receive/use/adjust/scrap/recalculate) - inventory quantity tracking is being removed per docs/superpowers/specs/2026-08-01-remove-inventory-quantity-tracking-design.md.
29 lines
781 B
C#
29 lines
781 B
C#
namespace CutList.Web.DTOs;
|
|
|
|
public class StockItemDto
|
|
{
|
|
public int Id { get; set; }
|
|
public int MaterialId { get; set; }
|
|
public string MaterialName { get; set; } = string.Empty;
|
|
public decimal LengthInches { get; set; }
|
|
public string LengthFormatted { get; set; } = string.Empty;
|
|
public string? Name { get; set; }
|
|
public string? Notes { get; set; }
|
|
public bool IsActive { get; set; }
|
|
}
|
|
|
|
public class CreateStockItemDto
|
|
{
|
|
public int MaterialId { get; set; }
|
|
public string Length { get; set; } = string.Empty;
|
|
public string? Name { get; set; }
|
|
public string? Notes { get; set; }
|
|
}
|
|
|
|
public class UpdateStockItemDto
|
|
{
|
|
public string? Length { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Notes { get; set; }
|
|
}
|