297 lines
8.1 KiB
C#
297 lines
8.1 KiB
C#
using DataAccessLayer;
|
|
using PDFGenerator.BusinessLayer.DataSection;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Data.SqlClient;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace PDFGenerator.BusinessLayer
|
|
{
|
|
public class DataThreadModel
|
|
{
|
|
private bool _profiloIsAct;
|
|
private bool _isProffesionalClient;
|
|
private string _flagnqp;
|
|
private string _flagprlrde;
|
|
private int _flagpg;
|
|
|
|
public bool profiloIsAct
|
|
{
|
|
get { return _profiloIsAct; }
|
|
set { _profiloIsAct = value; }
|
|
}
|
|
|
|
public bool IsProffesionalClient
|
|
{
|
|
get { return _isProffesionalClient; }
|
|
set { _isProffesionalClient = value; }
|
|
}
|
|
|
|
public string Flagnqp
|
|
{
|
|
get { return _flagnqp; }
|
|
set { _flagnqp = value; }
|
|
}
|
|
|
|
public string Flagprlrde
|
|
{
|
|
get { return _flagprlrde; }
|
|
set { _flagprlrde = value; }
|
|
}
|
|
|
|
public int Flagpg
|
|
{
|
|
get { return _flagpg; }
|
|
set { _flagpg = value; }
|
|
}
|
|
|
|
private string _codiceFiscale;
|
|
private string _rete;
|
|
private string _tipoReport;
|
|
private bool _periodico;
|
|
|
|
public string CodiceFiscale
|
|
{
|
|
get { return _codiceFiscale; }
|
|
set { _codiceFiscale = value; }
|
|
}
|
|
|
|
public string Rete
|
|
{
|
|
get { return _rete; }
|
|
set { _rete = value; }
|
|
}
|
|
|
|
public string TipoReport
|
|
{
|
|
get { return _tipoReport; }
|
|
set { _tipoReport = value; }
|
|
}
|
|
|
|
public bool Periodico
|
|
{
|
|
get { return _periodico; }
|
|
set { _periodico = value; }
|
|
}
|
|
|
|
// Agent properties
|
|
private string _dataLotto;
|
|
private string _nomeRete;
|
|
private string _agente;
|
|
private string _cognomeAgente;
|
|
private string _nomeAgente;
|
|
private string _indirizzoAgente;
|
|
private string _capAgente;
|
|
private string _cittaAgente;
|
|
private string _telefonoAgente;
|
|
|
|
public string DataLotto
|
|
{
|
|
get { return _dataLotto; }
|
|
set { _dataLotto = value; }
|
|
}
|
|
|
|
public string NomeRete
|
|
{
|
|
get { return _nomeRete; }
|
|
set { _nomeRete = value; }
|
|
}
|
|
|
|
public string Agente
|
|
{
|
|
get { return _agente; }
|
|
set { _agente = value; }
|
|
}
|
|
|
|
public string CognomeAgente
|
|
{
|
|
get { return _cognomeAgente; }
|
|
set { _cognomeAgente = value; }
|
|
}
|
|
|
|
public string NomeAgente
|
|
{
|
|
get { return _nomeAgente; }
|
|
set { _nomeAgente = value; }
|
|
}
|
|
|
|
public string IndirizzoAgente
|
|
{
|
|
get { return _indirizzoAgente; }
|
|
set { _indirizzoAgente = value; }
|
|
}
|
|
|
|
public string CapAgente
|
|
{
|
|
get { return _capAgente; }
|
|
set { _capAgente = value; }
|
|
}
|
|
|
|
public string CittaAgente
|
|
{
|
|
get { return _cittaAgente; }
|
|
set { _cittaAgente = value; }
|
|
}
|
|
|
|
public string TelefonoAgente
|
|
{
|
|
get { return _telefonoAgente; }
|
|
set { _telefonoAgente = value; }
|
|
}
|
|
|
|
// Client properties
|
|
private string _cognomeCliente;
|
|
private string _nomeCliente;
|
|
|
|
public string CognomeCliente
|
|
{
|
|
get { return _cognomeCliente; }
|
|
set { _cognomeCliente = value; }
|
|
}
|
|
|
|
public string NomeCliente
|
|
{
|
|
get { return _nomeCliente; }
|
|
set { _nomeCliente = value; }
|
|
}
|
|
|
|
// Financial properties
|
|
private decimal _partiteViaggiantiInvestimento;
|
|
private decimal _partiteViaggiantiDisinvestimento;
|
|
private decimal _patrimonioNonRappresentabile;
|
|
private decimal _patrimoniocomplessivototalectv;
|
|
private decimal _contoCorrente;
|
|
private decimal _patrimonioaltroctv;
|
|
private decimal _patrimonioimmobiliarectv;
|
|
private decimal _patrimonioterzictv;
|
|
private decimal _patrimonioTerziContoCorrente;
|
|
private decimal _patrimonioterzictvAlNettoContoCorrente;
|
|
private decimal _patrimoniobancafideuramctv;
|
|
private decimal _patrimonioBancaFideuramCtvAlNettoContoCorrente;
|
|
private int _numeroIntermediari;
|
|
private decimal _risorseNonAssociate;
|
|
private decimal _vaRRisorseNonAssociate;
|
|
private decimal _coperturaRisorseNonAssociate;
|
|
private decimal _vaRTotaleRisorseFinanziarie;
|
|
|
|
public decimal PartiteViaggiantiInvestimento
|
|
{
|
|
get { return _partiteViaggiantiInvestimento; }
|
|
set { _partiteViaggiantiInvestimento = value; }
|
|
}
|
|
|
|
public decimal PartiteViaggiantiDisinvestimento
|
|
{
|
|
get { return _partiteViaggiantiDisinvestimento; }
|
|
set { _partiteViaggiantiDisinvestimento = value; }
|
|
}
|
|
|
|
public decimal PatrimonioNonRappresentabile
|
|
{
|
|
get { return _patrimonioNonRappresentabile; }
|
|
set { _patrimonioNonRappresentabile = value; }
|
|
}
|
|
|
|
public decimal Patrimoniocomplessivototalectv
|
|
{
|
|
get { return _patrimoniocomplessivototalectv; }
|
|
set { _patrimoniocomplessivototalectv = value; }
|
|
}
|
|
|
|
public decimal ContoCorrente
|
|
{
|
|
get { return _contoCorrente; }
|
|
set { _contoCorrente = value; }
|
|
}
|
|
|
|
public decimal Patrimonioaltroctv
|
|
{
|
|
get { return _patrimonioaltroctv; }
|
|
set { _patrimonioaltroctv = value; }
|
|
}
|
|
|
|
public decimal Patrimonioimmobiliarectv
|
|
{
|
|
get { return _patrimonioimmobiliarectv; }
|
|
set { _patrimonioimmobiliarectv = value; }
|
|
}
|
|
|
|
public decimal Patrimonioterzictv
|
|
{
|
|
get { return _patrimonioterzictv; }
|
|
set { _patrimonioterzictv = value; }
|
|
}
|
|
|
|
public decimal PatrimonioTerziContoCorrente
|
|
{
|
|
get { return _patrimonioTerziContoCorrente; }
|
|
set { _patrimonioTerziContoCorrente = value; }
|
|
}
|
|
|
|
public decimal PatrimonioterzictvAlNettoContoCorrente
|
|
{
|
|
get { return _patrimonioterzictvAlNettoContoCorrente; }
|
|
set { _patrimonioterzictvAlNettoContoCorrente = value; }
|
|
}
|
|
|
|
public decimal Patrimoniobancafideuramctv
|
|
{
|
|
get { return _patrimoniobancafideuramctv; }
|
|
set { _patrimoniobancafideuramctv = value; }
|
|
}
|
|
|
|
public decimal PatrimonioBancaFideuramCtvAlNettoContoCorrente
|
|
{
|
|
get { return _patrimonioBancaFideuramCtvAlNettoContoCorrente; }
|
|
set { _patrimonioBancaFideuramCtvAlNettoContoCorrente = value; }
|
|
}
|
|
|
|
public int NumeroIntermediari
|
|
{
|
|
get { return _numeroIntermediari; }
|
|
set { _numeroIntermediari = value; }
|
|
}
|
|
|
|
public decimal RisorseNonAssociate
|
|
{
|
|
get { return _risorseNonAssociate; }
|
|
set { _risorseNonAssociate = value; }
|
|
}
|
|
|
|
public decimal VaRRisorseNonAssociate
|
|
{
|
|
get { return _vaRRisorseNonAssociate; }
|
|
set { _vaRRisorseNonAssociate = value; }
|
|
}
|
|
|
|
public decimal CoperturaRisorseNonAssociate
|
|
{
|
|
get { return _coperturaRisorseNonAssociate; }
|
|
set { _coperturaRisorseNonAssociate = value; }
|
|
}
|
|
|
|
public decimal VaRTotaleRisorseFinanziarie
|
|
{
|
|
get { return _vaRTotaleRisorseFinanziarie; }
|
|
set { _vaRTotaleRisorseFinanziarie = value; }
|
|
}
|
|
|
|
private decimal _totalNegativeCurrentAccountValue;
|
|
public decimal TotalNegativeCurrentAccountValue
|
|
{
|
|
get { return _totalNegativeCurrentAccountValue; }
|
|
set { _totalNegativeCurrentAccountValue = value; }
|
|
}
|
|
|
|
private bool _isAPC103;
|
|
public bool IsAPC103
|
|
{
|
|
get { return _isAPC103; }
|
|
set { _isAPC103 = value; }
|
|
}
|
|
}
|
|
}
|