using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GPW.CORE.Data.DbModels
{
//
// This is here so CodeMaid doesn't reorganize this document
//
public partial class AnagFasiExplModel
{
[Key]
public int IdxFase { get; set; }
public int? IdxProgetto { get; set; }
///
/// codice fase gerarchico (F.1.2. = Fase 1, sottofase 2) - aggiornare con trigger!
///
public string CodFase { get; set; } = "";
///
/// fase ANCESTOR (contenitore), 0 = è top level
///
public int IdxFaseAncest { get; set; } = 0;
public string NomeFase { get; set; } = "";
public string DescrizioneFase { get; set; } = "";
///
/// indica se sia abilitata o meno a ricevere assegnazioni di record temporali
///
public bool EnableTime { get; set; } = true;
///
/// indica se sia abilitata o meno a ricevere assegnazioni di record di spesa
///
public bool EnableMoney { get; set; } = false;
public bool Attivo { get; set; } = true;
///
/// codice univoco
///
public string CodClasse { get; set; } = "";
///
/// codice esterno
///
public string CodExt { get; set; } = "";
public decimal TotOre { get; set; } = 0;
///
/// Budget del progetto (in ore)
///
public decimal BudgetTime { get; set; } = 0;
public decimal BudgetMoney { get; set; } = 0;
public double PercOpen { get; set; } = 0;
public string CodTagFase { get; set; } = "";
}
}