Files
Samuele Locatelli fb5599002e Mod tipodoc:
- prima versione di test AD senza tipo esplicito
2023-08-31 19:04:40 +02:00

62 lines
2.4 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace SHERPA.Data.DbModels
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
[Table("Fatture")]
public partial class AccoDocModel
{
public AccoDocModel()
{
Fatt2DipQuotaNav = new HashSet<Fatt2DipQuotaModel>();
Fatt2FasiNav = new HashSet<Fatt2FasiModel>();
PagamentiNav = new HashSet<PagamentiModel>();
RigheFattNav = new HashSet<RigheFattModel>();
ScadenzeNav = new HashSet<ScadenzeModel>();
ContributiNav = new HashSet<ContributiModel>();
}
public int IdxFatt { get; set; }
public int? Anno { get; set; }
public int? Num { get; set; }
public int? IdxCli { get; set; }
public int IdxTipo { get; set; } = 0;
public DateTime Emesso { get; set; }
public double Ritenuta { get; set; }
public bool Scelta { get; set; }
public DateTime? DataPagam { get; set; }
public DateTime? Scadenza { get; set; }
/// <summary>
/// Token - Identificativo permanente del documento
/// </summary>
public string Token { get; set; } = null!;
/// <summary>
/// ID esterno
/// </summary>
public string NewId { get; set; } = null!;
/// <summary>
/// DataOra ultima variazione
/// </summary>
public DateTime DtEvent { get; set; }
public int IdxBasket { get; set; }
/// <summary>
/// Indica se invariato oppure cambiato testata (1), righe (2), tutto (3)
/// </summary>
public int Changed { get; set; }
public virtual CustomerModel? CustomerNav { get; set; }
public virtual CostiAssorbitiModel? CostiAssorbiti { get; set; }
public virtual RinnoviModel? Rinnovi { get; set; }
public virtual ICollection<Fatt2DipQuotaModel> Fatt2DipQuotaNav { get; set; }
public virtual ICollection<Fatt2FasiModel> Fatt2FasiNav { get; set; }
public virtual ICollection<PagamentiModel> PagamentiNav { get; set; }
public virtual ICollection<RigheFattModel> RigheFattNav { get; set; }
public virtual ICollection<ScadenzeModel> ScadenzeNav { get; set; }
public virtual ICollection<ContributiModel> ContributiNav { get; set; }
}
}