Nuovo progetto CORE x API + UI
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace GPW.CORE.Data.DbModels
|
||||
{
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
[Table("AnagFasi")]
|
||||
public partial class AnagFasiModel
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int IdxFase { get; set; }
|
||||
public int? IdxProgetto { get; set; }
|
||||
/// <summary>
|
||||
/// codice fase gerarchico (F.1.2. = Fase 1, sottofase 2) - aggiornare con trigger!
|
||||
/// </summary>
|
||||
public string CodFase { get; set; } = "";
|
||||
/// <summary>
|
||||
/// fase ANCESTOR (contenitore), 0 = è top level
|
||||
/// </summary>
|
||||
public int IdxFaseAncest { get; set; } = 0;
|
||||
public string NomeFase { get; set; } = "";
|
||||
public string DescrizioneFase { get; set; } = "";
|
||||
/// <summary>
|
||||
/// indica se sia abilitata o meno a ricevere assegnazioni di record temporali
|
||||
/// </summary>
|
||||
public bool EnableTime { get; set; } = true;
|
||||
/// <summary>
|
||||
/// indica se sia abilitata o meno a ricevere assegnazioni di record di spesa
|
||||
/// </summary>
|
||||
public bool EnableMoney { get; set; } = false;
|
||||
public bool Attivo { get; set; } = true;
|
||||
/// <summary>
|
||||
/// codice univoco
|
||||
/// </summary>
|
||||
public string CodClasse { get; set; } = "";
|
||||
/// <summary>
|
||||
/// codice esterno
|
||||
/// </summary>
|
||||
public string CodExt { get; set; } = "";
|
||||
/// <summary>
|
||||
/// Budget del progetto (in ore)
|
||||
/// </summary>
|
||||
public decimal BudgetTime { get; set; } = 0;
|
||||
public decimal BudgetMoney { get; set; } = 0;
|
||||
|
||||
[ForeignKey("IdxProgetto")]
|
||||
public virtual AnagProgettiModel? ProgettoNav { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user