Review namespace Task --> Job + fix JobStep/JobTask
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
using EgwCoreLib.Lux.Data.DbModel.Cost;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace EgwCoreLib.Lux.Data.DbModel.Job
|
||||
{
|
||||
/// <summary>
|
||||
/// Configurazione JobDriver abilitati per un Job e relativi coefficienti di conversione verso CostDriver
|
||||
/// </summary>
|
||||
[Table("task_job_driver_config")]
|
||||
public class JobDriverConfigModel
|
||||
{
|
||||
/// <summary>
|
||||
/// ID univoco
|
||||
/// </summary>
|
||||
[Key]
|
||||
public int JobDriverConfID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Job di riferimento
|
||||
/// </summary>
|
||||
public int JobID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// JobDriver di riferimento
|
||||
/// </summary>
|
||||
public int JobDriverID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Cost Driver obiettivo di cui è regressione lineare
|
||||
/// </summary>
|
||||
public int CostDriverID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Note regressione realizzata
|
||||
/// </summary>
|
||||
public string Note { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Valore di default valore in ingresso
|
||||
/// </summary>
|
||||
public double DefaultVal { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// Intercetta regressione
|
||||
/// </summary>
|
||||
public double Intercept { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Coefficiente di regressione
|
||||
/// </summary>
|
||||
public double Regress { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione JOB
|
||||
/// </summary>
|
||||
[ForeignKey("JobID")]
|
||||
public virtual JobTaskModel JobNav { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione JobDriver
|
||||
/// </summary>
|
||||
[ForeignKey("JobDriverID")]
|
||||
public virtual JobDriverModel JobDriverNav { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Navigazione Driver costo
|
||||
/// </summary>
|
||||
[ForeignKey("CostDriverID")]
|
||||
public virtual CostDriverModel CostDriverNav { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user