Files
PepApi.Core/PepApi.Core/Models/Plate.cs
T
aj 6971048a6b refactor(models): add required keyword and remove unused imports
- Add required keyword to string properties across all model classes
- Initialize Part.NestedOn array with Array.Empty<int>()
- Remove unused using statements from model files

This improves null safety and code maintainability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 15:28:52 -04:00

21 lines
476 B
C#

namespace PepApi.Core.Models
{
public class Plate
{
public required string Name { get; set; }
public double Thickness { get; set; }
public required Material Material { get; set; }
public required Size Size { get; set; }
public int Qty { get; set; }
public override string ToString()
{
return $"{Material.Thickness}, {Material.Grade} {Material.Description}, {Size.ToString()}";
}
}
}