mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 10:21:08 -04:00
Nest records gain a materialGrade field (server schema v8, blank for existing rows) that is searched, sorted and versioned like the other metadata. The Nest Info dialog gets a grade picker listing the machine configs' grades for the chosen material; density survives only an unchanged name and grade. A blank recorded grade keeps the archive's grade while the name matches, so records saved before v8 do not lose it on open. Saved Nests shows a Grade column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
354 B
C#
21 lines
354 B
C#
namespace OpenNest.Data;
|
|
|
|
/// <summary>Columns a saved-nest browse query may order by (camelCase on the wire).</summary>
|
|
public enum NestSortField
|
|
{
|
|
SavedAt,
|
|
Name,
|
|
Customer,
|
|
Status,
|
|
Material,
|
|
DateCreated,
|
|
DateModified,
|
|
Thickness,
|
|
PlateCount,
|
|
PartCount,
|
|
MadeBy,
|
|
Comments,
|
|
FileSize,
|
|
MaterialGrade,
|
|
}
|