using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SHERPA.Data.DbModels
{
public partial class vDocsExplModel
{
//
// This is here so CodeMaid doesn't reorganize this document
//
[Key]
public int idxDoc { get; set; } = 0;
public DateTime emesso { get; set; } = DateTime.Today.AddYears(-30);
public string idxGruppo { get; set; } = "";
public string Gruppo { get; set; } = "";
public string RagSoc { get; set; } = "";
public int num { get; set; } = 0;
public int anno { get; set; } = 0;
public int Trim { get; set; } = 0;
public int Mese { get; set; } = 0;
public decimal netto { get; set; } = 0;
public decimal iva { get; set; } = 0;
public decimal importo { get; set; } = 0;
public DateTime? chiuso { get; set; }
public int IdxTipo { get; set; } = 0;
public int ValMult { get; set; } = 1;
public string tipo { get; set; } = "";
public string codCli { get; set; } = "";
public int idxCli { get; set; } = 0;
public decimal totPagato { get; set; } = 0;
public decimal totScadenze { get; set; } = 0;
public string Descrizione { get; set; } = "";
public double ritenuta { get; set; } = 0;
public DateTime? DataPagam { get; set; }
public decimal CostiAss { get; set; } = 0;
public string id_ext { get; set; } = "";
///
/// Indica se invariato oppure cambiato testata (1), righe (2), tutto (3)
///
public int Changed { get; set; }
///
/// Indica se il tipo doc possa essere sincronizzato in FIC
///
public bool CanSync { get; set; } = true;
}
}