Files
gpw_next/GPW.CORE.Data/DbModels/AnagProgettiModel.cs
T
2022-01-26 14:38:18 +01:00

42 lines
1.4 KiB
C#

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("AnagProgetti")]
public partial class AnagProgettiModel
{
public AnagProgettiModel()
{
FasiNav = new HashSet<AnagFasiModel>();
}
[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; }
/// <summary>
/// codice esterno
/// </summary>
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<AnagFasiModel> FasiNav { get; set; }
}
}