Initial commit

This commit is contained in:
2026-04-23 21:38:24 -04:00
commit 63e12a9636
1762 changed files with 1672620 additions and 0 deletions
@@ -0,0 +1,30 @@
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;
/// <summary>Maximum load capacity in square feet for the Oven Scheduler.</summary>
[Range(0, 100000)]
public decimal? MaxLoadSqFt { get; set; }
/// <summary>Default cure cycle duration in minutes for the Oven Scheduler.</summary>
[Range(1, 1440)]
public int? DefaultCycleMinutes { get; set; }
// Navigation
public virtual Company Company { get; set; } = null!;
public virtual ICollection<Quote> Quotes { get; set; } = new List<Quote>();
public virtual ICollection<Job> Jobs { get; set; } = new List<Job>();
}