using Extrudex.Domain.Base; namespace Extrudex.Domain.Entities; /// /// Represents an AMS (Automatic Material System) unit installed on a Bambu Lab printer. /// Each AMS unit contains multiple slots that hold spools. /// public class AmsUnit : AuditableEntity { /// /// The 1-based index of this AMS unit on the printer (e.g., AMS 1, AMS 2). /// public int UnitIndex { get; set; } /// /// Foreign key to the parent Printer this AMS unit is installed on. /// public Guid PrinterId { get; set; } /// /// Navigation to the parent Printer. /// public Printer Printer { get; set; } = null!; /// /// Navigation collection of slots in this AMS unit. /// public ICollection Slots { get; set; } = new List(); }