using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GPW.CORE.Data.DbModels
{
//
// This is here so CodeMaid doesn't reorganize this document
//
[Table("AnagProgetti")]
public partial class AnagProgettiModel
{
public AnagProgettiModel()
{
FasiNav = new HashSet();
}
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int IdxProgetto { get; set; }
public int IdxCliente { get; set; }
public string NomeProj { get; set; } = "";
public string DescrProj { get; set; } = "";
public int OldIdx { get; set; }
public bool? Attivo { get; set; }
///
/// codice esterno
///
public string CodExt { get; set; } = "";
public DateTime Avvio { get; set; }
public DateTime Chiusura { get; set; }
public string Gruppo { get; set; } = "";
public bool Starred { get; set; }
[ForeignKey("IdxCliente")]
public virtual AnagClientiModel ClienteNav { get; set; } = null!;
[ForeignKey("Gruppo")]
public virtual AnagGruppiModel GruppiNav { get; set; } = null!;
public virtual ICollection FasiNav { get; set; }
}
}