Initial commit
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
Reference in New Issue
Block a user