ProcessSpec parent:
public class ProcessSpec : SpecBase
{
public ProcessSpec()
{
ProcessSpecDosimeterLoadings = new List<ProcessSpecDosimeterLoading>();
DosimeterLoads = new List<DosimeterLoad>();
}
[Key]
public int ProcessSpecId { get; set; }
[MaxLength(255)]
public string ProcessSpecName { get; set; }
public int TreatmentSystemId { get; set; }
/// <summary>
/// Describes this process spec
/// </summary>
[MaxLength(255)]
public string Description { get; set; }
}
inheritance 1:
public class ProcessSpecGamma : ProcessSpec
{
/// <summary>
/// Refers to the density (in g/cm³) of the minimum density to be used in the process.
/// </summary>
[Column(TypeName = "decimal(18,3)")]
public decimal? MinDensity { get; set; }
/// <summary>
/// Refers to the density (in g/cm³) of the maximum density to be used in the process.
/// </summary>
[Column(TypeName = "decimal(18,3)")]
public decimal? MaxDensity { get; set; }
}