initial commit

This commit is contained in:
cubecraft-agents[bot]
2026-04-25 18:51:05 +00:00
commit 230c3b295d
78 changed files with 8093 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using Extrudex.Domain.Base;
namespace Extrudex.Domain.Entities;
/// <summary>
/// Optional modifier/additive for a material (e.g., "Carbon Fiber", "Glass Fiber",
/// "Wood Fill", "Glow-in-the-Dark"). Not every spool has a modifier.
/// </summary>
public class MaterialModifier : AuditableEntity
{
/// <summary>
/// Human-readable name of the modifier (e.g., "Carbon Fiber", "Wood Fill").
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Foreign key to the parent MaterialBase. A modifier belongs to exactly one base material.
/// </summary>
public Guid MaterialBaseId { get; set; }
/// <summary>
/// Navigation to the parent MaterialBase.
/// </summary>
public MaterialBase MaterialBase { get; set; } = null!;
/// <summary>
/// Navigation collection of spools with this modifier.
/// </summary>
public ICollection<Spool> Spools { get; set; } = new List<Spool>();
}