using System.ComponentModel.DataAnnotations; namespace PowderCoating.Core.Entities; public class OvenCost : BaseEntity { [Required] [StringLength(100)] public string Label { get; set; } = string.Empty; [Range(0, 10000)] public decimal CostPerHour { get; set; } public bool IsActive { get; set; } = true; public int DisplayOrder { get; set; } = 0; /// Maximum load capacity in square feet for the Oven Scheduler. [Range(0, 100000)] public decimal? MaxLoadSqFt { get; set; } /// Default cure cycle duration in minutes for the Oven Scheduler. [Range(1, 1440)] public int? DefaultCycleMinutes { get; set; } // Navigation public virtual Company Company { get; set; } = null!; public virtual ICollection Quotes { get; set; } = new List(); public virtual ICollection Jobs { get; set; } = new List(); }